10.07.2013, 19:09
Seguinte fiz um sistema de UP mas nгo aparece o level upado sу quando reloga do servidor coloquei essa stork aqui
e deu isso aqui
Linhas:
pawn Код:
stock PlayerName(playerid)
{
new PlayerNameLevel[MAX_PLAYERS];
GetPlayerName(playerid, PlayerNameLevel, MAX_PLAYERS);
return PlayerNameLevel;
}
Quote:
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(467) : error 079: inconsistent return types (array & non-array) C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(470) : warning 217: loose indentation C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(470) : error 029: invalid expression, assumed zero C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(470) : error 017: undefined symbol "PlayerName" C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(474) : error 090: public functions may not return arrays (symbol "Timer") C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(476) : error 030: compound statement not closed at the end of file (started at line 45 Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
pawn Код:
return 1;
pawn Код:
stock PlayerName(playerid)