Vehicles and permissions
#4

Quote:
Originally Posted by AeroBlast
View Post
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == vid //Fill in the vehicle id
    {
        if(GetPlayerSkin(playerid) != skin) //Fill in the skin
        {
            RemovPlayerFromVehicle(playerid);
            SendClientMessage(playerid,0xFF0000FF, "you cant drive this");
        }
    }
    return 1;
}
I was got this error

Code:
C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(207) : error 029: invalid expression, assumed zero
Reply


Messages In This Thread
Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 13:15
Re: Vehicles and permissions - by Henkie - 22.10.2011, 13:30
Re: Vehicles and permissions - by AeroBlast - 22.10.2011, 13:33
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 14:08
Re: Vehicles and permissions - by SuperViper - 22.10.2011, 14:17
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 14:35
Re: Vehicles and permissions - by AeroBlast - 22.10.2011, 14:37
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 14:45
Re: Vehicles and permissions - by Henkie - 22.10.2011, 14:47
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 15:08
Re: Vehicles and permissions - by AeroBlast - 22.10.2011, 15:38
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 15:43
Re: Vehicles and permissions - by Henkie - 22.10.2011, 16:22
Re: Vehicles and permissions - by Artie_Scorpion - 22.10.2011, 16:46
Re: Vehicles and permissions - by Henkie - 23.10.2011, 06:20
Re: Vehicles and permissions - by Artie_Scorpion - 23.10.2011, 09:09
Re: Vehicles and permissions - by AeroBlast - 23.10.2011, 09:41
Re: Vehicles and permissions - by Henkie - 23.10.2011, 10:37
Re: Vehicles and permissions - by zT KiNgKoNg - 07.07.2012, 19:23
Re: Vehicles and permissions - by Steven82 - 07.07.2012, 19:33

Forum Jump:


Users browsing this thread: 3 Guest(s)