SA-MP Forums Archive
Help with script (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: Help with script (rep+) (/showthread.php?tid=331937)



Help with script (rep+) - boyan96 - 06.04.2012

how i can change the position when player connect


Re: Help with script (rep+) - DBan - 06.04.2012

Change the position when they connect? Do you mean when they spawn or are you talking about where they are when it says "Connected to blah blah"?


Re: Help with script (rep+) - $$inSane - 06.04.2012

which position are you talking about
please expain.??


Re: Help with script (rep+) - GtasaPoliceModz - 06.04.2012

Код:
public OnPlayerSpawn
{
     SetPlayerPos(playerid , Float:X Float:Y Float:Z);
     return 1;
}



Re: Help with script (rep+) - boyan96 - 06.04.2012

this position


Re: Help with script (rep+) - jotan. - 06.04.2012

pawn Код:
public OnPlayerSpawn
{
     SetPlayerPos(playerid , Float:X Float:Y Float:Z);
     return 1;
}
Dont use :
Float: X , Float: Y, Float Z Go on OnPlayerConnect and you see the same Code,copy the line with numbers on it and type it..


Re: Help with script (rep+) - DBan - 06.04.2012

Quote:
Originally Posted by boyan96
Посмотреть сообщение
this position i am with with o.3d but i find this picture in internet
Hmm I don't know if you could change that, but i'm sure a more advanced scripter would enlighten us


Re: Help with script (rep+) - boyan96 - 06.04.2012

i try but does not work


Re: Help with script (rep+) - DarkB0y - 06.04.2012

go in game and go to the postion u want to the player spawn and do /save than got to My Documents\GTA San Andreas User Files\SAMP and u will fined "savedpositions" Than do
Quote:

public OnPlayerSpawn
{
SetPlayerPos(playerid , (Float:X Float:Y Float:Z));Change Those To the postion get saved
return 1;
}




Re: Help with script (rep+) - boyan96 - 06.04.2012

i don't wont on player spawn i won't OnPlayerConnect