[Ajuda] Pawno
#1

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);
Reply
#2

Posta as linhas nй x_x
Reply
#3

Ta dando 26 erros?
Se for й porque vocк esqueceu de fechar uma chave ' { ' que vocк abriu.
Reply
#4

Acabo me esquecendo :/

Alee, deve ser isso mesmo, ou ele saiu escrevendo "asjdiahcaoscsackasjзs" do meio dos cod irairiari
Reply
#5

Tem aн as linhas, peзo desculpa, ainda estava a postar quando voзes respondera..

Jб ai estб.. nao consigo resolver
Reply
#6

@ edit

Nгo vi o post acima kk

cara deve ser problema de include entгo..
Reply
#7

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
Reply
#8

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;
Reply
#9

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
Reply
#10

Nгo percebi essa mano.. Explica aн melhor!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)