23.09.2015, 02:42
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // code ... } if (strcmp("/rumahcj", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,2435.9736,-1659.3164,13.3772,267.9005); SendClientMessage(playerid, 0xFFFF00AA,"INFO:{FFFFFF}DAH SAMPAI RUMAH CJ"); return 1; } if (strcmp("/help", cmdtext, true, 5) == 0) { SendClientMessage(playerid, 0xAA3333AA, "/rumahcj/chilliad/lstower/pulau1/pulau2/pulau3/maze/parkour1/parkour2/air/rumahibtiqari"); return 1; } if(strcmp(cmdtext, "/skin 1", true) == 0) { SetPlayerSkin(playerid, 1); return 1; }