Help - 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: Help (
/showthread.php?tid=371335)
Help -
Sig Hansen - 23.08.2012
Hello Dear Samp Players i'm here with another question :S
How to get IG to point; 1239, 23, 975.3842,-1336.5934,13.5317
I dont have ****** and my country does not allow me to download it or install....
There is a ROB Job or checkpoint and i want to go there..
Please tell me how to go IG to 1239, 23, 975.3842,-1336.5934,13.5317
I tryed every admin command and still didnt fined. Thanks If you'd help me i'll give you rep
Epic Fail at ***** it means hack...
Re: Help -
clarencecuzz - 23.08.2012
Are you kidding me?
http://www.wiki.sa-mp.com/wiki/SetPlayerPos
pawn Код:
if(strcmp(cmdtext,"/gotopos", true) == 0)
{
SetPlayerPos(playerid, X, Y, Z); //Why is there 5 points?
return 1;
}
Re: Help -
Sig Hansen - 23.08.2012
Thanks but Epic fail on wiki cuz it dont work haha
Re: Help -
clarencecuzz - 23.08.2012
Soz, I forgot the .com xD
Re: Help -
=WoR=G4M3Ov3r - 23.08.2012
PHP код:
if(strcmp(cmdtext,"/gotopos", true) == 0)
{
SetPlayerPos(playerid, 975.3842,-1336.5934,13.5317);
return 1;
}
You were using 2 numbers in front which you ripped out of a pickup code.
Re: Help -
Sig Hansen - 23.08.2012
Site Still Dont Work xD and so the command :S i get these 2 warnings error 010: invalid function or declaration
:S
Re: Help -
=WoR=G4M3Ov3r - 23.08.2012
Quote:
Originally Posted by Sig Hansen
Site Still Dont Work xD
|
https://sampwiki.blast.hk/wiki/SetPlayerPos
Re: Help -
Akira297 - 23.08.2012
Quote:
Originally Posted by =WoR=G4M3Ov3r
PHP код:
if(strcmp(cmdtext,"/gotopos", true) == 0)
{
SetPlayerPos(playerid, 975.3842,-1336.5934,13.5317);
return 1;
}
You were using 2 numbers in front which you ripped out of a pickup code.
|
Sig. Just use what =WoR= gave you.
--
Re: Help -
Sig Hansen - 23.08.2012
I tired but still dont work :S can someone do it via team viewer :S?
Re: Help -
=WoR=G4M3Ov3r - 23.08.2012
PHP код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/gotopos",true))
{
SetPlayerPos(playerid, 975.3842,-1336.5934,13.5317);
return 1;
}
return 0;
}
Would this explain it better ?