A little bit Of help needed -
kepa333 - 12.06.2012
Sup , Im working on Raven RP , and im trying to make poeple own 3 cars instead of 2 So im almost done but i got this little problem lines:
if(PlayerInfo[playerid][pPcarkey] != 9999) { PlayerInfo[playerid][pPcarkey2] = car; }
How do i put a second Pcarkey3 Into this If i do it It gives me 28 errors so how i do it like this:
if(PlayerInfo[playerid][pPcarkey] != 9999) { PlayerInfo[playerid][pPcarkey2] = car; { PlayerInfo[playerid][pPcarkey3] = car; }
Is that right? pls help me
Re: A little bit Of help needed -
ViniBorn - 12.06.2012
pawn Код:
if (PlayerInfo [playerid] [pPcarkey] == 9999)
{
PlayerInfo [playerid] [pPcarkey2] = carro;
PlayerInfo [playerid] [pPcarkey3] = carro;
}
Re: A little bit Of help needed -
kepa333 - 12.06.2012
Vini Ill try it bro
Errors:
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(3903) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(3995) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4341) : error 004: function "SafeSetPlayerInterior" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4384) : error 017: undefined symbol "GetVehicleName"
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4384) : warning 202: number of arguments does not match definition
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4400) : error 004: function "IsASalesVehicle" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4410) : error 004: function "GetVehiclePrice" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(4533) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(6516) : error 004: function "ClearChatbox" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7053) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7093) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7122) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7169) : error 004: function "SaveGuns" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7173) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7177) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7181) : error 004: function "UpdatePlayerPosition" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7287) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(728

: error 004: function "SafeSetPlayerInterior" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7297) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(729

: error 004: function "SafeSetPlayerInterior" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7330) : error 004: function "RemoveRoadblock" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7394) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7400) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7414) : error 004: function "SetRealMoney" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7417) : error 004: function "SafeSetPlayerInterior" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7419) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Users\Snor !\Desktop\Real Life ENG\gamemodes\bmw.pwn(7456) : error 004: function "SafeResetPlayerWeapons" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Cant u do it after this? i think it works then
if(PlayerInfo[playerid][pPcarkey] != 9999) { PlayerInfo[playerid][pPcarkey2] = car; }
Re: A little bit Of help needed -
rachit_rocks - 12.06.2012
if (PlayerInfo [playerid] [pPcarkey] == 9999)
{
PlayerInfo [playerid] [pPcarkey2] = carro;
PlayerInfo [playerid] [pPcarkey3] = carro;
}
Re: A little bit Of help needed -
kepa333 - 12.06.2012
lol that is just what he said , U u aint allowed to Post unusless Crap Rachit ,
Re: A little bit Of help needed - HuSs3n - 12.06.2012
how can someone fix it for you without seeing your lines , by a magic trick or what?
Re: A little bit Of help needed -
kepa333 - 12.06.2012
Код:
if(PlayerInfo[playerid][pPcarkey] != 9999) { PlayerInfo[playerid][pPcarkey2] = car; }
else { PlayerInfo[playerid][pPcarkey] = car; }
CarInfo[car][cOwned] = 1;
strmid(CarInfo[car][cOwner], sendername, 0, strlen(sendername), 999);
SafeGivePlayerMoney(playerid,-GetVehiclePrice(idcar));
if(IsModelAPlane(idcar) || IsModelAHeli(idcar))