/engine, and /lights problem
#5

OnPlayerExitVehicle
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
Empty..

OnPlayerStateChange
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new carid;
    new i = 0;
    if(carid == CopCar[i])
    {
    if(PlayerInfo[playerid][pMember] == 1)
    return 1;
    }
    else return RemovePlayerFromVehicle(playerid), SCM(playerid,RED,"You're NOT an Flint County Sheriffs Department Officer!");

    if(carid == FBI[i])
    {
    if(PlayerInfo[playerid][pMember] == 2)
    return 1;
    }
    else return RemovePlayerFromVehicle(playerid), SCM(playerid,RED,"You're NOT in the FBI!");
    if(carid == FCFD[i])
    {
    if(PlayerInfo[playerid][pMember] == 3)
    return 1;
    }
    else return RemovePlayerFromVehicle(playerid), SCM(playerid,RED,"You're NOT an Flint County Fire Department member!");
    return 1;
}
Doubt it's anything wrong with that ;s
Reply


Messages In This Thread
[Still Not Fixed] /engine, and /lights problem - by rubygta - 04.02.2012, 23:15
Re: /engine, and /lights problem - by ғαιιοцт - 04.02.2012, 23:20
Re: /engine, and /lights problem - by rubygta - 04.02.2012, 23:21
Re: /engine, and /lights problem - by ғαιιοцт - 04.02.2012, 23:31
Re: /engine, and /lights problem - by rubygta - 04.02.2012, 23:33
Re: /engine, and /lights problem - by ғαιιοцт - 04.02.2012, 23:42
Re: /engine, and /lights problem - by rubygta - 05.02.2012, 00:50
Re: /engine, and /lights problem - by wolfcock - 05.02.2012, 00:50
Re: /engine, and /lights problem - by ғαιιοцт - 05.02.2012, 08:02
Re: /engine, and /lights problem - by wolfcock - 05.02.2012, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)