YCMD to ZCMD
#1

hi all, how to move this command from YCMD to ZCMD?
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/lemne"cmdtexttrue10) == 0)
    {
          if(
IsPlayerInRangeOfPoint(playerid3998.8036,-2166.8545,13.0938))
        {
            if(
JobStep[playerid] == 0)
            {
                
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"{FFFFFF}Taietor de lemne""{FFFFFF}Timp: {FF8000}7 Minute\n{FFFFFF}Castig: {FF8000}10.000$","Iesire""");
                   
skinoriginal[playerid] = GetPlayerSkin(playerid);
                
SetPlayerSkin(playerid16);
                
JobStep[playerid] = 1;
                
SendClientMessage(playerid0xFFFF00C8"Urca-te intr-o masina.");
            }
            else
            {
                
SendClientMessage(playerid0xFF0000C8"Trebuie sa termini sarcina actuala!");
                return 
1;
            }
        }
        else
        {
            
SendClientMessage(playerid0xFF0000C8"Nu esti langa vestiar!");
            return 
1;
        }
        return 
1;
    }
    return 
0;

+ REP
Reply


Messages In This Thread
YCMD to ZCMD - by Sn4ke2 - 08.06.2015, 17:41
Re: YCMD to ZCMD - by DarkLouis - 08.06.2015, 17:43
Re: YCMD to ZCMD - by Sn4ke2 - 08.06.2015, 18:01
Re: YCMD to ZCMD - by JaydenJason - 08.06.2015, 18:16
Re: YCMD to ZCMD - by Sn4ke2 - 08.06.2015, 18:40
Re: YCMD to ZCMD - by Konstantinos - 08.06.2015, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)