when player enter car
#4

Here fixed it as you want. Such add the define line on the top near all other color definitions.

pawn Код:
#define COLOR_GREEN           0x33AA33AA
//Add the above line on the top of all the other color definitions.

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        SendClientMessage(playerid, COLOR_GREEN, "Drive Safely!");
    GameTextForPlayer(playerid, "~g~Drive Safely", 1000, 3);
    }
    return 1;
}
Reply


Messages In This Thread
when player enter car - by TheDiscussionCafe - 29.04.2012, 01:05
Re: when player enter car - by WarriorEd22 - 29.04.2012, 01:06
Re: when player enter car - by JaKe Elite - 29.04.2012, 01:07
Re: when player enter car - by Ballu Miaa - 29.04.2012, 01:12

Forum Jump:


Users browsing this thread: 1 Guest(s)