26.02.2012, 12:29
public OnGameModeInit()
public OnPlayerConnect(playerid)
public OnPlayerSpawn(playerid)
public OnPlayerDisconnect(playerid, reason)
Estou a tentar salvar a vida para quando o jogador entrar ter a mesma vida do que quando saiu
pawn Код:
if(!fexist("Nivel/Vida.ini")) dini_Create("Nivel/Vida.ini");
pawn Код:
if(dini_Isset("Nivel/Vida.ini",PlayerName(playerid))) SetPlayerHealth(playerid,dini_Int("Nivel/Vida.ini",PlayerName(playerid)));
public OnPlayerSpawn(playerid)
pawn Код:
if(dini_Isset("Nivel/Vida.ini",PlayerName(playerid))) SetPlayerHealth(playerid,dini_Int("Nivel/Vida.ini",PlayerName(playerid)));
pawn Код:
dini_IntSet("Nivel/Vida.ini",PlayerName(playerid),GetPlayerHealth(playerid)); // erro aqui
pawn Код:
C:\Users\Ricardo\Desktop\Server Patos tugas\gamemodes\pb.pwn(517) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.