22.02.2017, 14:15
i want my code to translate to zcmd
and
because my
not work
went i put zcmd command and sscanf2
my gm i downloaded at this link
PHP код:
if(!strcmp(cmdtext, "/teleports", true))
{
ShowMenuForPlayer(teleport,playerid);
return 1;
}
return 0;
}
PHP код:
if(!strcmp(cmdtext, "/v", true))
{
// If there was a previously created selection menu, destroy it
DestroySelectionMenu(playerid);
SetPVarInt(playerid, "vspawner_active", 1);
//SetPVarInt(playerid, "vspawner_page", 0); // will reset the page back to the first
CreateSelectionMenu(playerid);
SelectTextDraw(playerid, 0xACCBF1FF);
return 1;
}
PHP код:
public OnPlayerCommandText
went i put zcmd command and sscanf2
my gm i downloaded at this link