![]() |
if (GangTagSystem != Working) { //what do I do? }
Name says it all. The script is here:
PHP Code:
Also, if anything is in GS1, if you can can you please convert it to GS2? |
if (strlen(#s(clientr.gang > 0))) {
can be changed to if (clientr.gang > 0){ t does the same thing :P |
Well try
PHP Code:
|
Nope didn't work, Mike x_x
|
Quote:
PHP Code:
Also, triggers preserve the calling player so you don't need to use the findplayer() on serverside unless you want to access a player that isn't yourself. |
well strlen was in the commands.rtf for gs2 so i thought that was ok.
|
Why don't you just set the player's guild instead of doing all that with the nick? o_O
|
Quote:
|
Quote:
|
Instead of:
NPC Code:strlen(string) Please use: NPC Code:string.length() Like: NPC Code:clientr.gang.length() > 0 (Or you can just do clientr.gang != "") |
Thanks, it works now :)
Also, why'd you make it a "gui" [triggerserver("[I]gui[I]",.);]? It's supposed to be a weapon :p |
Because weaponNPCs are considered gui's.
|
Quote:
|
Oh really? When I changed "gui" to "weapon" it was the same =\
|
I've always used 'gui': it's shorter ^^
|
Quote:
|
Quote:
I kinda noticed it when I changed it :p |
| All times are GMT +2. The time now is 12:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.