How To Make
#4

Quote:
Originally Posted by Criss_Angel
pawn Код:
If(GetPlayerVehicleID) == Testcar1 || Testcar2 || Testcar3||
{
SetCheckpointForPlayer(Checkpointid == ur checkpoint);
}
you have to make the checckpoints aswell!
That wouldn't work. Because you can't close with "||", "If(GetPlayerVehicleID)" is an invalid function, "if" has to start with a non-capital letter, and "SetCheckpointForPlayer" is an invalid function too. But this should work:

pawn Код:
if(GetPlayerVehicleID(playerid) == Testcar1 || Testcar2 || Testcar3)
{
  SetPlayerCheckpoint(playerid, Float:x, Float:y, Float:z, Float:size);
  return 1;
}
Reply


Messages In This Thread
How To Make - by Geekzor - 01.08.2009, 12:11
Re: How To Make - by MenaceX^ - 01.08.2009, 12:27
Re: How To Make - by Criss_Angel - 01.08.2009, 12:40
Re: How To Make - by refshal - 01.08.2009, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)