/dropcar
#1

Hey guys its posssible to convert this cmd in zcmd?

PHP код:
if(strcmp(cmd"/dropcar"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
           {
            if(
PlayerOnMission[playerid] > 0)
            {
                  
SendClientMessage(playeridCOLOR_GREY"   On a mission right now, can't use this command!");
                   return 
1;
            }
              if(
PlayerInfo[playerid][pCarTime] == 0)
            {
                 
GameTextForPlayer(playerid"~w~Car Selling ~n~~r~Drop the car at the Crane"50001);
                   
CP[playerid] = 1;
                
SetPlayerCheckpoint(playerid2506.5625,-2630.6484,13.6467,8.0);
            }
            else
            {
                 
SendClientMessage(playeridCOLOR_GREY"   You already Dropped a car, wait till your reload time is over!");
            }
        }
        return 
1;
    } 
Reply


Messages In This Thread
/dropcar - by Jaua10 - 26.09.2017, 02:24
Re: /dropcar - by SetPlayerNameTag - 26.09.2017, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)