Help with these commands
#5

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.
pawn Код:
if(!PlayerOrg[playerid] == 3)
You don't need the ! The exclamation point is used to check if a value returns zero.

Код:
if(!PlayerOrg[playerid])
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.
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");
}
Look at tutorials, you're not gonna learn this over night or in one post.
Reply


Messages In This Thread
Help with these commands - by RyanPetersons - 22.06.2012, 07:12
Re: Help with these commands - by RyanPetersons - 22.06.2012, 07:17
Re: Help with these commands - by ReneG - 22.06.2012, 07:20
Re: Help with these commands - by RyanPetersons - 22.06.2012, 07:22
Re: Help with these commands - by ReneG - 22.06.2012, 07:35
Re: Help with these commands - by [MM]RoXoR[FS] - 22.06.2012, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)