Crashed script
#1

Код:
OnPlayerStateChange

if(gang[playerid] == 1)
{
    new newcar = GetPlayerVehicleID(playerid);
if(newcar == 1)
{
if(newstate == PLAYER_STATE_DRIVER)
{
        SendClientMessage(playerid,COLOR,"You are not allowed to drive this car");
        RemovePlayerFromVehicle(newcar);
    }
}
this script always crash when i try to create a army cars only, or a a police car only why ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)