[Ajuda] Pawno - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Pawno (
/showthread.php?tid=304952)
[Ajuda] Pawno -
JuniorPT - 20.12.2011
Boas pessoal, precisava aqui de uma ajudinha..
Bem o GM que eu tou a editar estб me a dar uns erros que nгo consigo resolver .. deixo aqui os erros
Erros:
Код:
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1196) : error 017: undefined symbol "ShowServerPassword"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1249) : error 004: function "LoadScript" is not implemented
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1263) : error 004: function "FixHour" is not implemented
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1305) : error 004: function "KickPlayer" is not implemented
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1320) : error 021: symbol already defined: "PPos"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1320) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1321) : error 021: symbol already defined: "PPos"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1321) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1322) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1323) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1324) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1325) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : warning 219: local variable "TogglePlayerControllable" shadows a variable at a preceding level
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : error 001: expected token: ";", but found "("
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : warning 215: expression has no effect
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 017: undefined symbol "Textdraw"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : warning 215: expression has no effect
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 001: expected token: ";", but found ")"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 029: invalid expression, assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : fatal error 107: too many error messages on one line
Vou deixar tambйm as linhas dos erros:
Код:
1249: LoadScript();
1263: FixHour(tmphour);
1305: KickPlayer(playerid,"RevZ_","Fizes-te vбrias tentativas de spawnar sem fazeres login.");
1319: new PPos[playerid][0] = 0;
1320: new PPos[playerid][1] = 0;
1321: new PPos[playerid][2] = 0;
1322: new AFKMins[playerid] = 0;
1323: new Seatbelt[playerid] = 0;
1324: new PlayerShotty[playerid] = false;
1325: new PlayerShottyAmmo[playerid] = 0;
1326:new TogglePlayerControllable(playerid, 0);
1327: TextDrawShowForPlayer(playerid, Textdraw 0);
Re: [Ajuda] Pawno -
isli27 - 20.12.2011
Posta as linhas nй x_x
Re: [Ajuda] Pawno -
AleeFerreira - 20.12.2011
Ta dando 26 erros?
Se for й porque vocк esqueceu de fechar uma chave ' { ' que vocк abriu.
Re: [Ajuda] Pawno -
isli27 - 20.12.2011
Acabo me esquecendo :/
Alee, deve ser isso mesmo, ou ele saiu escrevendo "asjdiahcaoscsackasjзs" do meio dos cod irairiari
Re: [Ajuda] Pawno -
JuniorPT - 20.12.2011
Tem aн as linhas, peзo desculpa, ainda estava a postar quando voзes respondera..
Jб ai estб.. nao consigo resolver
Re: [Ajuda] Pawno -
AleeFerreira - 20.12.2011
@ edit
Nгo vi o post acima kk
cara deve ser problema de include entгo..
Re: [Ajuda] Pawno -
JuniorPT - 20.12.2011
Jб so tem 15 erros..
Erros:
Код:
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : warning 217: loose indentation
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1320) : warning 217: loose indentation
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1320) : error 021: symbol already defined: "PPos"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1320) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1321) : error 021: symbol already defined: "PPos"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1321) : error 001: expected token: "}", but found ";"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1322) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1323) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1324) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1325) : warning 217: loose indentation
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1325) : error 008: must be a constant expression; assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : warning 219: local variable "TogglePlayerControllable" shadows a variable at a preceding level
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : error 001: expected token: ";", but found "("
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1326) : warning 215: expression has no effect
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 017: undefined symbol "Textdraw"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : warning 215: expression has no effect
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 001: expected token: ";", but found ")"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : error 029: invalid expression, assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1327) : fatal error 107: too many error messages on one line
Re: [Ajuda] Pawno -
iReflesh - 20.12.2011
new TogglePlayerControllable(playerid, 0);
wtf
new PPos[playerid][0] = 0;
new PPos[playerid][1] = 0;
new PPos[playerid][2] = 0;
Para:
new PPos[playerid][3] = 0;
Re: [Ajuda] Pawno -
JuniorPT - 20.12.2011
Bem pessoal, tirei os new's de antes das primeiras linhas e so me restam 4 erros
Ajudem nestes 4 sff:
Код:
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 017: undefined symbol "PPos"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : warning 215: expression has no effect
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 001: expected token: ";", but found "]"
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : error 029: invalid expression, assumed zero
C:\Users\Diogo\Desktop\CRP\gamemodes\crp.pwn(1319) : fatal error 107: too many error messages on one line
Re: [Ajuda] Pawno -
JuniorPT - 20.12.2011
Nгo percebi essa mano.. Explica aн melhor!