05.05.2009, 04:20
Код:
if (!strcmp(cmd, "/joingang", true)) { tmp = strtok(cmdtext, idx); new skinid = strval(tmp); if (PlayerToPoint(1,playerid,1782.6963,-1886.8224,13.3913)) { if (skinid != 108 || skinid != 109 || skinid != 110) return SendClientMessage(playerid,COLOR_MSG, "[!] Invalid Gang Skins."); AccountInfo[playerid][GSkin] = skinid; SetPlayerSkin(playerid,skinid); SendClientMessage(playerid,COLOR_WHITE,"Welcome to the Vagos Gang."); AccountInfo[playerid][MyJob] = 7; } else { SendClientMessage(playerid,COLOR_GREY,"Cant do that here."); } return 1; }