help please
#5

Try this:

pawn Код:
enum VehicleInfo
{
    VID,
    model,
    vOwned,
    vOwner,
    Float:SpawnPos[4],
    Lock,
    vcolor1,
    vcolor2,
    carro
};
//=========================================//
    InVehicle[playerid] = GetPlayerVehicleID(playerid);
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(newstate == PLAYER_STATE_DRIVER)
    {
    if(vInfo[InVehicle[playerid]][vOwned] == 0)
    {
    SendClientMessage(playerid, COLOR_ADMIN, "PROBANDO SIN DUEN~O");
    }
    else if(vInfo[InVehicle[playerid]][vOwned] == 1)
    {
    if(strcmp(pName, vInfo[InVehicle[playerid]][vOwner], true))
    {
    SendClientMessage(playerid, COLOR_ADMIN, "PROBANDO CON DUEN~O");
    }
    }
    }
Reply


Messages In This Thread
help please - by Cerealguy - 03.12.2013, 19:48
Re: help please - by Mitchy - 03.12.2013, 19:49
Re: help please - by Blademaster680 - 03.12.2013, 21:38
Respuesta: help please - by Cerealguy - 04.12.2013, 15:34
Re: help please - by Areax - 04.12.2013, 16:00
Respuesta: help please - by Cerealguy - 04.12.2013, 18:28
Re: help please - by Areax - 04.12.2013, 19:27
Respuesta: help please - by Cerealguy - 04.12.2013, 20:19

Forum Jump:


Users browsing this thread: 3 Guest(s)