18.02.2011, 18:57
(
Last edited by thiagofraletti; 19/02/2011 at 01:13 AM.
)
@Resolvido graзas a Strong_ADM
public OnPlayerSpawn(playerid)
{
new String[60];
for(new i; i < MAX_PLAYERS; i++)
new Nome[24];
GetPlayerName(playerid, Nome, sizeof(Nome));
if(strcmp(dini_Get(String, "dono"), Nome, true) == 0)
new Float:X, Float:Y, Float:Z;
X = dini_Float(String, "x_casa");
Y = dini_Float(String, "y_casa");
Z = dini_Float(String, "z_casa");
SetPlayerPos(playerid, X, Y, Z);
return true;
}
if(strcmp(dini_Get(String, "casa0.ini","dono"), name, true) == 0)