[HELP] Why Nothing Happen With this
#1

I got this :

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if (newstate==PLAYER_STATE_DRIVER)
      {
      if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 511 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 593)
        {
            if (GetPlayerSkin(playerid) == 61)
                {
                    if  (avisado[playerid]==-1)
                    {
                            GameTextForPlayer(playerid,"~w~Type /start For ~r~Pilot Mission",3000,5);//SetTimerEx("MandarMensaje",5500,0,"%d",playerid);
                            }
                        else
                        {
                        KillTimer(avisado[playerid]);
                        avisado[playerid]=-1;
                        }
                    }

          }
      }
    if  (newstate==PLAYER_STATE_ONFOOT)
      {
      if    ((playerInMiniMission[playerid]>0)&&(avisado[playerid]==-1))
          {
          GameTextForPlayer(playerid,"TEXT HERE",3000,4);
          avisado[playerid]=SetTimerEx("terminMission",10000,0,"%d",playerid);
          }
      }
    return 1;
    }
And when i go into the Plane(Id 511) nothing happen... why? i dont see the GameTextForPlayer(playerid,"~w~Type /start For ~r~Pilot Mission",3000,5);
Reply
#2

Bump! Please help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)