Need help with simple command
#5

PHP код:
public OnPlayerCommandText(playeridcmdtext[]) 

    if(
pOffersMechanic[playerid]) 
    { 
        if(
strcmp(cmdtext"yes"true)) 
        { 
           
PlayerInfo[playerid][pVeh1tyres1] = 0
           
PlayerInfo[playerid][pVeh1doors1] = 0
           
PlayerInfo[playerid][pVeh1panels1] = 0
           
PlayerInfo[playerid][pVeh1lights1] = 0
           
GivePlayerCash(playerid, -amount); 
           
GameTextForPlayer(playerid"Your car's body work has been fixed"30003); 
           return 
1
        } 
        if(
strcmp(cmdtext"no"true)) 
        { 
           
GameTextForPlayer(playerid"Canceled heal offer"30003); 
           return 
1
        } 
        return 
0
    } 

Ha.. Try this .
Reply


Messages In This Thread
Need help with simple command - by MatZZPL - 13.11.2012, 18:57
Re : Need help with simple command - by yusei - 13.11.2012, 19:05
Re: Need help with simple command - by MatZZPL - 13.11.2012, 19:09
Re: Need help with simple command - by MatZZPL - 13.11.2012, 19:52
Re : Need help with simple command - by yusei - 13.11.2012, 19:53
Re: Need help with simple command - by MatZZPL - 13.11.2012, 20:07
Re: Need help with simple command - by tyler12 - 13.11.2012, 20:11
Re: Need help with simple command - by MatZZPL - 13.11.2012, 21:38

Forum Jump:


Users browsing this thread: 2 Guest(s)