26.08.2011, 16:04
nгo entendi sua pergunta mais faz assim:
Testa ai.
PHP Code:
new bool:PrimeiroSpawn[MAX_PLAYERS];//Topo
PrimeiroSpawn[playerid] = false;//OnPlayerConnect
//OPlayerSpawn
if(PrimeiroSpawn[playerid] == false) {
new String[50];
format(String, sizeof(String), CONTAS, Nome);
SetPlayerPos(playerid, dini_Float(String, "PosX"), dini_Float(String, "PosY"), dini_Float(String, "PosZ"));
PrimeiroSpawn[playerid] = true;
}
SetarPlayer(playerid)
{
new Nome[MAX_PLAYER_NAME],
String[50];
GetPlayerName(playerid, Nome, sizeof(Nome));
format(String, sizeof(String), CONTAS, Nome);
GivePlayerMoney(playerid, dini_Int(String,"Dinheiro"));
SetPlayerHealth(playerid, dini_Int(String,"Vida"));
SetPlayerArmour(playerid, dini_Int(String,"Colete"));
Matou[playerid] = dini_Int(String, "Matou");
Morreu[playerid] = dini_Int(String, "Morreu");
Logou[playerid] = dini_Int(String, "Logou");
return 1;
}