12.02.2015, 02:34
To tentando adicionar a funзгo de salvar as armas aqui no meu servidor mas tб dando esse erro:
gamemodes\teste.pwn(87) : warning 202: number of arguments does not match definition
OBS: Primeiro post aqui, entгo desde jб peзo desculpas se postei errado.
OBSІ: A linha 87 й a if(dini_Isset("armas.ini",PlayerName(playerid))) GivePlayerWeapon(playerid,dini_Int("armas.ini",Pla yerName(playerid)));
gamemodes\teste.pwn(87) : warning 202: number of arguments does not match definition
Код:
public OnPlayerConnect(playerid) { if(dini_Isset("armas.ini",PlayerName(playerid))) GivePlayerWeapon(playerid,dini_Int("armas.ini",PlayerName(playerid))); } public OnPlayerDisconnect(playerid, reason) { dini_IntSet("armas.ini",PlayerName(playerid),GetPlayerWeapon(playerid)); } public OnGameModeInit() { if(!fexist("armas.ini")) dini_Create("armas.ini");
OBSІ: A linha 87 й a if(dini_Isset("armas.ini",PlayerName(playerid))) GivePlayerWeapon(playerid,dini_Int("armas.ini",Pla yerName(playerid)));