[HELP] Why Nothing Happen With this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Why Nothing Happen With this (
/showthread.php?tid=97133)
[HELP] Why Nothing Happen With this -
Smiths - 12.09.2009
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);
Re: [HELP] Why Nothing Happen With this -
Smiths - 12.09.2009
Bump! Please help!