PD Garage command
#4

Quote:
Originally Posted by patfay
Посмотреть сообщение
For the last part, I want it so that you ARE able to teleport in a car.. or on foot.
Well, try what I wrote in the post above and tell me if it works.

Anyway, overall, with the messages, it`s not really hard. For the example, after the if, you can use else return, just like you did with the SetVehiclePos...

I`ll give you another example:
pawn Код:
if( bla bla)
{
  //bla bla
}
return SendClientMessage( playerid, -1, "Message you want." ); // -1 is the color, which is white in this case ...
Overall, you don`t have to use
pawn Код:
else return SendClientMessage( bla bla)
you can use directly return, under the closed comma '}'.

Hope you understood something.
Reply


Messages In This Thread
PD Garage command - by patfay - 14.03.2011, 00:53
Re: PD Garage command - by antonio112 - 14.03.2011, 01:02
Re: PD Garage command - by patfay - 14.03.2011, 01:03
Re: PD Garage command - by antonio112 - 14.03.2011, 01:06
Re: PD Garage command - by patfay - 14.03.2011, 01:08
Re: PD Garage command - by patfay - 14.03.2011, 01:17
Re: PD Garage command - by antonio112 - 14.03.2011, 01:33

Forum Jump:


Users browsing this thread: 2 Guest(s)