22.11.2011, 18:43
Well im trying to call the info from my mysql system but it just give me some errors any help would be great
it compiles fine when i just have this part
but when i add this it give me the errors.
Many Thanks
it compiles fine when i just have this part
Код:
forward PlayerGiveMoney(playerid, money); stock PlayerGiveMoney(playerid, money) { PVAR[playerid][pMoney] += money;//line 1378 SetPlayerMoney(playerid, PVAR[playerid][pMoney]); }
Код:
PlayerGiveMoney(playerid, money); //line 795
Код:
C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(795) : error 017: undefined symbol "money" C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1085) : warning 217: loose indentation C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1378) : error 017: undefined symbol "PVAR" C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1378) : warning 215: expression has no effect C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1378) : error 001: expected token: ";", but found "]" C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1378) : error 029: invalid expression, assumed zero C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(1378) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.