
05-05-2011, 10:33 PM
|
|
Era iPhone PR
|
 |
Join Date: Aug 2010
Posts: 324
|
|
Quote:
Originally Posted by Twaina
I think its a hard script may you use it with clientr.isstaff and a stealth gani like this one here
PHP Code:
//#CLIENTSIDE
function onCreated() {
player.attr[22] = "unstealth.gani";
}
function onPlayerChats() {
if (player.chat == "/stealth") {
if (clientr.isStaff) {
toggleStealth();
player.chat ="";
}
else
player.chat = "I´m no Staff";
}
if(player.chat == "/reconnect") {
ServerWarp(ServerName);
}
}
function toggleStealth() {
this.stealth = !this.stealth;
if (this.stealth)
player.attr[22] = "stealth.gani";
else
player.attr[22] = "unstealth.gani";
}
|
Scripting by Twinny |
|
|
|