22.06.2012, 07:35
Do you have any idea what you're doing? Did you make this yourself?
I highly doubt anyone here will fix it for you, but I'll give you a pointer.
The code below.
You don't need the ! The exclamation point is used to check if a value returns zero.
Will check if the PlayerOrg is equal to zero. Most likely not in an organisation.
Also, some of this code doesn't even make sense.
Look at tutorials, you're not gonna learn this over night or in one post.
I highly doubt anyone here will fix it for you, but I'll give you a pointer.
The code below.
pawn Код:
if(!PlayerOrg[playerid] == 3)
Код:
if(!PlayerOrg[playerid])
Also, some of this code doesn't even make sense.
pawn Код:
if (sscanf(params, "d", otherid)) return SendClientMessage(playerid, ERROR_COLOR, "Usage: /Tie [playerid]");
{
TogglePlayerControllable(otherid, 1);
SendClientMessage(otherid,COLOR_RED,"You have been untied");
}

