14.01.2010, 10:05
Hmm since I'm newbie scripter and we have faster commands like dcmd and zcmd, i can do this, but strtok...nope .
DCMD:
DCMD:
pawn Код:
dcmd_makepilot(playerid, params[])
{
new otherid;
if sscanf(params, "u", otherid) return SendClientMessage(playerid, COLOR_GREY, "USAGE: makepilot: ID");
if (!(IsPlayerAdmin(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You must be admin!");
SendClientMessage(playerid, 0xFF6600AA, "That player is now pilot!");
SetPlayerSkin(playerid, 61);
return 1;
}