21.03.2014, 09:54
Move it on ''OnPlayerStateChange''
and add this:
and add this:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == grovesreigtasparnis)
{
if(PInfo[playerid][grove] == 0)
{
SendClientMessage(playerid, RAUDONA, "[Serveris]{4FB34D} ?is Transportas skirtas tik Grove Street Nariams!");
RemovePlayerFromVehicle(playerid);
}
else SendClientMessage(playerid, ZALIA, "Sveiki Grove Street Nari!");
}
}