Code help +rep! - 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)
+--- Thread: Code help +rep! (
/showthread.php?tid=590764)
Code help +rep! -
Tixxt - 03.10.2015
Yo guys.
Can someone make this /savepos into a teleport? xyz etc?
AddPlayerClass(293,2333.0330,-1071.9821,1049.0234,358.4098,0,0,0,0,0,0);
I have this as tele :
Код:
if(!strcmp("/Halloween", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, 2333.0330,-1071.9821,1049.0234);
}
else
{
SetPlayerPos(playerid, 2333.0330,-1071.9821,1049.0234);
}
return 1;
Re: Code help +rep! -
d1git - 03.10.2015
I might know what you're talking about... but correct me if i'm wrong.
You want to hand-pick the coordinates from the function below?
PHP код:
AddPlayerClass(293,2333.0330,-1071.9821,1049.0234,358.4098,0,0,0,0,0,0);
PHP код:
X = 2333.0330
Y = -1071.9821
Z = 1049.0234
A (Angle) = 358.4098
Re: Code help +rep! -
Tixxt - 04.10.2015
Yes thanks man! Rep+