02.02.2009, 12:35
Hi,
I'm in trouble! So, I just need a little help :P
I just want a simple /kick, where the Rcon Admin and Specific Job (I already had the function to this job) could kick a player, with ID.
I know this lines are wrong, but this is an example for what I want.
So, anyone can help me?
Thanks!
I'm in trouble! So, I just need a little help :P
I just want a simple /kick, where the Rcon Admin and Specific Job (I already had the function to this job) could kick a player, with ID.
Код:
if(strcmp(cmd, "/kick",true) == 0) { if(Job[playerid] == GM || IsPlayerIsAdmin(playerid)) { SendClientMessage(playerid,COLOR_RED),"You've been kicked."); ............ continued
So, anyone can help me?
Thanks!