Changing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Changing (
/showthread.php?tid=119030)
Changing -
RieTzz - 06.01.2010
hmm , this is my code
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 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
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;
it wont let me in ...