Begging for help (Important)
#6

Good you got your problem fixed heres the code btw

Код:
if(gClass[playerid] == CLASS_PILOT)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
    new veh, Float:x,Float:y,Float:z;
    veh = GetPlayerVehicleID(playerid);
    if(veh > 425 || 447 || 464 || 476 || 520)
    {
    GetPlayerPos(playerid, x,y,z);
    SetPlayerPos(playerid, x,y,z+1);
    }
     else return SendClientMessage(playerid, red, "[ERROR]: You need to be a pilot to fly this vehicle");
    return 1;
    }
}
And you have str already defind as told by other ._o
Reply


Messages In This Thread
Begging for help (Important) - by Strier - 29.01.2013, 04:53
Re: Begging for help (Important) - by Bakr - 29.01.2013, 05:12
Re: Begging for help (Important) - by Babul - 29.01.2013, 05:16
Respuesta: Begging for help (Important) - by Strier - 29.01.2013, 05:21
Re: Respuesta: Begging for help (Important) - by Jewell - 29.01.2013, 05:38
Re: Begging for help (Important) - by Dark Killer - 29.01.2013, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)