31.01.2010, 01:32
I forgot the function: It was STATE_PLAYER_ONENTERVEHICLE OR SOMETHING LIKE THAT.
I want it to only say it once not forever.
pawn Код:
if(IsPlayerInCar(playerid))
{
if (newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, COLOR_RED, "Did you know: You can press SPACEBAR to add Nitrous Oxside (NOS) to your car");
GameTextForPlayer(playerid,"~w~Press SPACEBAR to ~n~~g~ADD NOS To your Car.",2500,1);
}
}