03.06.2011, 20:04
Can somebody help me with the following bug, I can't solve the problem :S
The AddBizzInfo variables
And the error codes
Thnak you,
Kastranova
Код:
format(AddBizzInfo[playerid][abString], sizeof(AddBizzInfo[playerid][abString]), "24/7 - 1 \n24/7 - 2 /n24/7 - 3 /n24/7 - 4 /n24/7 - 5 /n24/7 - 6");
Код:
enum abInfo { abOwned, abOwner[64], abType, abMessage[128], abExtortion[MAX_PLAYER_NAME], Float:abEntranceX, Float:abEntranceY, Float:abEntranceZ, Float:abExitX, Float:abExitY, Float:abExitZ, abLevelNeeded, abBuyPrice, abEntranceCost, abTill, abLocked, abInterior, abProducts, abMaxProducts, abPriceProd, abStep, abString[256] }; new AddBizzInfo[MAX_PLAYERS][abInfo];
Код:
C:\Documents and Settings\PC 01\Bureaublad\samp03csvr_RC6_win32\gamemodes\larp.pwn(41462) : error 001: expected token: "]", but found "-identifier-" C:\Documents and Settings\PC 01\Bureaublad\samp03csvr_RC6_win32\gamemodes\larp.pwn(41462) : warning 215: expression has no effect C:\Documents and Settings\PC 01\Bureaublad\samp03csvr_RC6_win32\gamemodes\larp.pwn(41462) : error 001: expected token: ";", but found "]" C:\Documents and Settings\PC 01\Bureaublad\samp03csvr_RC6_win32\gamemodes\larp.pwn(41462) : error 029: invalid expression, assumed zero C:\Documents and Settings\PC 01\Bureaublad\samp03csvr_RC6_win32\gamemodes\larp.pwn(41462) : fatal error 107: too many error messages on one line
Kastranova