20.04.2012, 01:04
Hola a todos, buen dнa principalmente, hoy vengo con un nuevo problema.
Lo que pasa es que No se como solucionar el siguiente problema:
pasa que me avienta error en esta linea IfPlayerExist(playerid, UserPath); & dice:
como puedo usar UserPath en el stock?...
Lo que pasa es que No se como solucionar el siguiente problema:
pawn Код:
#define UserPath "%s.ini"
public OnPlayerDisconnect(playerid, reason){
IfPlayerExist(playerid, UserPath);
}
stock IfPlayerExist(playerid, path)
{
new PlayerName[MAX_PLAYERS], PrintPath[MAX_STRINGS]);
GetPlayerName(playerid, PlayerName, sizeof(PlayerName);
format(PrintPath, sizeof(PrintPath), path, PlayerName);
if(file(path)) SendClientMessage(playerid, COLOR_VERDE, string);
}
Код:
argument type mismatch (argument 2)