translate
#1

i want my code to translate to zcmd

PHP код:
    if(!strcmp(cmdtext"/teleports"true))
    {
         
ShowMenuForPlayer(teleport,playerid);
         return 
1;
       }
    return 
0;

and

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(playerid0xACCBF1FF);
        return 
1;
    } 
because my
PHP код:
public OnPlayerCommandText 
not work

went i put zcmd command and sscanf2

my gm i downloaded at this link

Reply


Messages In This Thread
translate - by crukk11 - 22.02.2017, 14:15
Re: translate - by StrikerZ - 22.02.2017, 14:17
Re: translate - by crukk11 - 22.02.2017, 14:20
Re: translate - by crukk11 - 22.02.2017, 14:24
Re: translate - by StrikerZ - 22.02.2017, 14:56
Re: translate - by crukk11 - 23.02.2017, 05:45
Re: translate - by StrikerZ - 23.02.2017, 06:07
Re: translate - by crukk11 - 23.02.2017, 06:24
Re: translate - by StrikerZ - 23.02.2017, 06:27
Re: translate - by crukk11 - 23.02.2017, 06:27

Forum Jump:


Users browsing this thread: 2 Guest(s)