19.07.2009, 20:40
Try using it on OnPlayerStateChange
maybe you could learn something out of a piece of my script;
Offcourse you will need PLAYER_STATE_DRIVER
have fun
maybe you could learn something out of a piece of my script;
Код:
cabid= GetPlayerVehicleID(playerid);// if(cabid==LVtaxi || busid==LVbus )// make this just any vehicle later { if(newstate == PLAYER_STATE_PASSENGER) SendClientMessage(playerid,0x80008096, "You just afraid to drive yourself dont you ?"); for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid,0xFFFFFF00); GivePlayerMoney(playerid, -1); }
have fun