06.02.2014, 12:50
(
Последний раз редактировалось bboytimix; 06.02.2014 в 12:53.
Причина: smileys.
)
hey
i want to do if player changed Zclass
he will get text like
class setted on zombie slot
and if Sclass
class setted on Survivor slot
i want to do if player changed Zclass
he will get text like
class setted on zombie slot
and if Sclass
class setted on Survivor slot
Quote:
CMD:setclass(playerid,params[]) { if(PInfo[playerid][Premium] == 0) return SendClientMessage(playerid,white,"* "cred"You are not allowed to use this command ONLY PREMIUM CAN!"); new class,id; if(sscanf(params,"ii",id,class)) return SendClientMessage(playerid,orange,"USAGE: "cblue"/setclass <team> <classid> "cgrey"1 = Survivor | 2 = Zombie"); if(id == 1) PInfo[playerid][Sclass] = class-1; else if(id == 2) PInfo[playerid][Zclass] = class-1; SendClientMessage(playerid,0xCCCCFF,"You have successfully changed your class."); return 1; } |