SA-MP Forums Archive
I need help fast! - 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: I need help fast! (/showthread.php?tid=371208)



I need help fast! - RiChArD_A - 22.08.2012

Hi, I'm creating my own server but I'm stock on something. I want that wen a player connects to my server spawn only in this coordinates: -2471.11, -2797.41, 3.000
PLEASE help me!, Thanks


Re: I need help fast! - Akira297 - 22.08.2012

'OnPlayerSpawn'


Re: I need help fast! - AliveBG - 22.08.2012

PHP Code:
//OnPlayerSpawn
SetPlayerPos(playerid, -2471.11, -2797.413.000); 



Respuesta: Re: I need help fast! - RiChArD_A - 22.08.2012

THANK YOU VERY MUCH!


Re: I need help fast! - HyDrAtIc - 22.08.2012

First click on find,type this
pawn Code:
public OnPlayerSpawn
Now look at this

pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerPos (playerid,  put coordinates here);
    return 1;
}
If i helped don't forget to REP


Re: I need help fast! - Akira297 - 22.08.2012

You're welcome for our help.


Respuesta: Re: I need help fast! - RiChArD_A - 22.08.2012

Quote:
Originally Posted by James_Nick
View Post
First click on find,type this
pawn Code:
public OnPlayerSpawn
Now look at this

pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerPos (playerid,  put coordinates here);
    return 1;
}
If i helped don't forget to REP
It did't work, take a look: .:if there is some thing wron tell me:.



Re: Respuesta: Re: I need help fast! - HyDrAtIc - 22.08.2012

Quote:
Originally Posted by Lauder
View Post
It did't work, take a look: .:if there is some thing wron tell me:.
Sorry my friend now i seen im gonna show you where excactly


1-Click on find
2-type
pawn Code:
public OnPlayerSpawn


3-Now let's edit spawn point



Now compile it your done

If i helped don't forget to REP


Respuesta: Re: Respuesta: Re: I need help fast! - RiChArD_A - 22.08.2012

Quote:
Originally Posted by James_Nick
View Post
Sorry my friend now i seen im gonna show you where excactly


1-Click on find
2-type
pawn Code:
public OnPlayerSpawn


3-Now let's edit spawn point



Now compile it your done

If i helped don't forget to REP
YES! it worked. THANK YOU ALL!


Re: Respuesta: Re: Respuesta: Re: I need help fast! - HyDrAtIc - 22.08.2012

Quote:
Originally Posted by Lauder
View Post
YES! it worked. THANK YOU ALL!
Your welcome my friend if you need more help tell me and i will