01.03.2011, 16:15
pawn Код:
public OnPlayerSpawn(playerid)
{
new file[128];
new name[MAX_PLAYER_NAME];
Spawn[playerid]=0;
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),"/Register_Login/Settings/%s.ini",name);
if(fexist(file))
{
}
if(RegistrouAgora[playerid] = 1)
{
SendClientMessage(playerid, Cor, "[SERVER] Ganhastes 10000 para comeзar a jogar!");
GivePlayerMoney(playerid, Dinheiro);
}
else
{
GivePlayerMoney(playerid, dini_Int(arquivo,"Grana"));
return 1;
}
return 1;
}