06.01.2010, 12:53
hmm , this is my code
and its in LS near the Police Station , but I want it to change to SF so here the code
And its virutalworld , its automaticly enters me in the building , but when i switched coords in this
it wont let me in ...
pawn Code:
//City hall
SetPlayerPos(playerid, 386.2978,173.8582,1008.3828);
GameTextForPlayer(playerid, "~w~City Hall",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
else if (PlayerToPointStripped(1, playerid, 386.2978,173.8582,1008.3828, cx,cy,cz))
{
//City hall
SetPlayerPos(playerid, -1493.5813,919.7627,7.1875);
GameTextForPlayer(playerid, "~w~San Fierro ",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
And its virutalworld , its automaticly enters me in the building , but when i switched coords in this
pawn Code:
//City hall
SetPlayerPos(playerid, -1493.5813,919.7627,7.1875);
GameTextForPlayer(playerid, "~w~San Fierro ",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;