28.10.2013, 14:13
Ola Coloquei esse sistema de caixinha no meu gm !
mais quando vou compilar da Alguns erros gostaria de saber o que esta de errado !
mais quando vou compilar da Alguns erros gostaria de saber o que esta de errado !
pawn Код:
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(25149) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49749) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49750) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49752) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49758) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49759) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49760) : error 017: undefined symbol "string"
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49760) : error 017: undefined symbol "string"
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49760) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(49760) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
pawn Код:
caixinha = char;
pawn Код:
new RespeitoCaixinha = 1 random(4);
pawn Код:
if(PlayerInfo[playerid][pCaixinha] == char)
pawn Код:
if(caixinha != char){SendClientMessage(playerid, COLOR_GRAD1, "Presentes bloqueados no momento.");return true;}
pawn Код:
if(caixinha != char){SendClientMessage(playerid, COLOR_GRAD1, "Presentes bloqueados no momento.");return true;}
pawn Код:
PlayerInfo[playerid][pCaixinha] = char;
pawn Код:
format(string, sizeof(string), "%s pegou uma caixinha e ganhou R$%d e %d de respeito.",PlayerName(playerid), DinheiroCaixinha, RespeitoCaixinha);