17.09.2013, 04:38
How to make it ZCMD??
i want to put it to my gamemode
--
i want to use this but its not working cuz im using ZCMD
https://sampforum.blast.hk/showthread.php?tid=407045
i want to put it to my gamemode
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256+1];
new idx;
if(!IsPlayerAdmin(playerid)) return 0;
cmd = strtok(cmdtext, idx);
if(strcmp("/skinchange", cmd, true) == 0)
{
// If there was a previously created selection menu, destroy it
DestroySelectionMenu(playerid);
SetPVarInt(playerid, "skinc_active", 1);
//SetPVarInt(playerid, "skinc_page", 0); // will reset the page back to the first
CreateSelectionMenu(playerid);
SelectTextDraw(playerid, 0xACCBF1FF);
return 1;
}
return 0;
}
i want to use this but its not working cuz im using ZCMD
https://sampforum.blast.hk/showthread.php?tid=407045

