19.01.2014, 01:40
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/Entrar", true) == 0)
{
if(PlayerToPoint(3.0, playerid,691.5710,-1276.1722,13.5607))
{//Entrada Prefeitura
SetPlayerPos(playerid, -2169.7590,645.5231,1057.5938);
GameTextForPlayer(playerid, "~w~Prefeitura LS",5000,1);
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 1;
SetPlayerVirtualWorld(playerid, 0);
}
return 1;
}
This forum requires that you wait 240 seconds between posts.