13.07.2010, 13:49
Do something like
at top
Then
on gamemodeinit
Then on public OnPlayerStateChange(playerid, newstate, oldstate)
Not sure if this would work, just made it quick.
pawn Код:
new grove[25]
Then
pawn Код:
groove = AddStaticVehicle(,,,,,)
Then on public OnPlayerStateChange(playerid, newstate, oldstate)
pawn Код:
if(newstate == 2)
{
if(vehicleid == grove)
{
// bla bla
}
}