i gote a Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: i gote a Problem (
/showthread.php?tid=190827)
i gote a Problem -
funnypike - 16.11.2010
i startet yester day with pawn scripting and today i got a problem wen i teleport to Los Santos airport i got this prob my player is in the ground why is this i try alot dont now many of pawn scripting so plz help this are screens from it
I now my english is bad i em sorry for that
this are my cordinates
PHP код:
if (strcmp("/ls", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1436.7037,1472.7804,10);
SendClientMessage(playerid, COLOR_RED , "You have been teleported to Los santos airplane");
return 1;
}
Re: i gote a Problem -
Grim_ - 16.11.2010
Increase the Z coordinate of the function ( SetPlayerPos( playerid, Float:X, Float:Y, Float:
Z ); ) by 1 or 2 when teleporting the player there.
Re: i gote a Problem -
funnypike - 17.11.2010
I dont get it but i solved my problem now i got only this in my script
PHP код:
if (strcmp("/ls", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1436.8839,1473.9670,10);
SendClientMessage(playerid, COLOR_RED , "You have been teleported to Los santos airport");
return 1;
}
but it needed to be
PHP код:
if (strcmp("/ls", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1436.8839,1473.9670,10.8203);
SendClientMessage(playerid, COLOR_RED , "You have been teleported to Los santos airport");
return 1;
}
if i em read
Re: i gote a Problem -
SlashPT - 17.11.2010
that was what grim said...