10.08.2009, 23:28
K my bad, put the code in 'public OnPlayerStateChange()'
this would become
should be giving you the vehicle id('s) you need
Grts Riz
this would become
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate==PLAYER_STATE_DRIVER)
{
new string[128];
format(string,128,"vehicle id: %d",GetPlayerVehicleID(playerid));
SendClientMessage(playerid,yourcolor,string);
}
Grts Riz