personal Car
#1

282
Quote:

for(new h = carsonserver; h < sizeof(CarInfo); h++)

Quote:

C:\Users\Cbu-Samp\Desktop\CarOwnerShip!!!\filterscripts\carowne rship.pwn(282) : error 017: undefined symbol "CarInfo"
C:\Users\Cbu-Samp\Desktop\CarOwnerShip!!!\filterscripts\carowne rship.pwn(282) : error 036: empty statement
C:\Users\Cbu-Samp\Desktop\CarOwnerShip!!!\filterscripts\carowne rship.pwn(282) : error 017: undefined symbol "h"
C:\Users\Cbu-Samp\Desktop\CarOwnerShip!!!\filterscripts\carowne rship.pwn(282) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Quote:

enum cInfo
{
cModel,
Float:cLocationx,
Float:cLocationy,
Float:cLocationz,
Float:cAngle,
cColorOne,
cColorTwo,
cOwner[MAX_PLAYER_NAME],
cDescription[12],
cOwned,
cLock,

};

so??'
Reply
#2

Quote:

if(GetPlayerMoney(playerid) >= CarInfo[idcar][cValue])
{
if(PlayerInfo[playerid][pPcarkey] == -1) { PlayerInfo[playerid][pPcarkey] = idcar; }
else if(PlayerInfo[playerid][pPcarkey2] == -1) { PlayerInfo[playerid][pPcarkey2] = idcar; }
else if(PlayerInfo[playerid][pPcarkey3] == -1) { PlayerInfo[playerid][pPcarkey3] = idcar; }
else { return 1; }
CarInfo[idcar][cOwned] = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~w~Felicitari~n~Nu uita sa o parchezi cu /v park!", 5000, 3);
SendClientMessage(playerid, COLOR_GRAD2, "Felicitari ti-ai cumparat o masina noua!");
TogglePlayerControllable(playerid, 1);
OnPropUpdate(); SavePlayerData(playerid);
return 1;
}


C:\Users\Cbu-Samp\Desktop\CarOwnerShip!!!\filterscripts\carowne rship.pwn(557) : error 017: undefined symbol "cValue"

I dont need cValue !!!!!!


This is FS !! please help me


http://pastebin.com/QjGptUgR
Reply
#3

Don't create a 3-dimensional array unless you have to. That's a massive array.

pawn Код:
enum cInfo
{
    cModel,
    Float:cLocationx,
    Float:cLocationy,
    Float:cLocationz,
    Float:cAngle,
    cColorOne,
    cColorTwo,
    cOwner[MAX_PLAYER_NAME],
    cDescription[12],
    cOwned,
    cLock
};
new CarInfo[MAX_VEHICLES][cInfo];
Reply
#4

This is FS !! please help me


http://pastebin.com/QjGptUgR
Reply
#5

please help me
Reply
#6

Nothing??
Reply
#7

======??======
Reply
#8

ohhh guys sorry for x5 post .. i need help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)