TRAILER
#1

Guyz what's wrong here?
I m trying to add if player is in mission and his truck trailer get away so it player get this message but its not working

PHP код:
public OnPlayerStateChange(playeridnewstateoldstate)
{
if(
newstate == PLAYER_STATE_DRIVER)
        {
           if(
pData[playerid][pMission] == MISSION_TYPE_TRUCK_2)
           {
               new 
vehicleid;
               
vehicleid GetPlayerVehicleID(playerid);
               if(!
IsTrailerAttachedToVehicle(vehicleid))
               {
                 return 
SendClientMessage(playeridRED"ATTACT TRAILR");
               }
           }
        } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)