Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-05-2011, 01:40 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
clear players attr

Hey there.
Well after I messed up experimenting with scripts, I must have messed up my attributes. So I wanted to ask if there is any way to clear all player attributes at once? I just know how to remove just one at once.
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
player.attr[1] = "";
  
player.attr[2] = "";
  
player.attr[3] = "";
  
player.attr[4] = "";
  
//...

That would make it way easier if I can remove them all at once
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.