i gote a Problem
#1

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"cmdtexttrue10) == 0)
    {
        
SetPlayerPos(playerid,1436.7037,1472.7804,10);
        
SendClientMessage(playeridCOLOR_RED "You have been teleported to Los santos airplane");
        return 
1;
    } 


Reply
#2

Increase the Z coordinate of the function ( SetPlayerPos( playerid, Float:X, Float:Y, Float:Z ); ) by 1 or 2 when teleporting the player there.
Reply
#3

I dont get it but i solved my problem now i got only this in my script


PHP код:
if (strcmp("/ls"cmdtexttrue10) == 0)
    {
        
SetPlayerPos(playerid,1436.8839,1473.9670,10);
        
SendClientMessage(playeridCOLOR_RED "You have been teleported to Los santos airport");
        return 
1;
    } 
but it needed to be
PHP код:
if (strcmp("/ls"cmdtexttrue10) == 0)
    {
        
SetPlayerPos(playerid,1436.8839,1473.9670,10.8203);
        
SendClientMessage(playeridCOLOR_RED "You have been teleported to Los santos airport");
        return 
1;
    } 
if i em read
Reply
#4

that was what grim said...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)