#4

Not really - That CMD won't work.

Lemme explain why

- If you check at wiki the kick function.

You'll find that it is only usable like that -
PHP код:
kick(playerid); 
You can't specify a certain ID - So that won't work

Inorder to get another player ID - You'll need to use SSCANF or strtok

However - SSCANF won't work with strcmp [The command processor]

So you'll have to learn strtok inorder to make CMD's that would interact with other ID's.

Notice : "playerid" means the ID of the player that used the CMD.
Reply


Messages In This Thread
kick - by colonel-top - 13.05.2013, 11:59
Re: kick - by MP2 - 13.05.2013, 12:18
Re: kick - by Calabresi - 13.05.2013, 12:30
Re: kick - by -CaRRoT - 13.05.2013, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)