22.03.2009, 11:35
Quote:
Originally Posted by [LorD
bAr[Sp] ]
You Most To Do every commands the var commands like tmp! you cannot do this Globlay! and i suggest you to do your Command like this: Код:
if(strcmp(cmd, "/Kick", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid,COLOR_RED,"Usage: /Kick [playerid]!"); new id; id = strval(tmp); if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_RED,"Invaild id!"); Kick(id); return 1; } |