[HELP] Relative coordinates
#1

Hello!


I just started scripting, and I've been watching a lot of tutorials and they all say that with practise you get better, so I decided to script some minor things so I can get the hang of it..
I'm doing a simple script, when a player does "/vehicle" a car would spawn infront of them, but I've encounter a problem wich I hope you guys can help me figure out.
I don't know if it's possible to make the car spawn relativetly to the player, and if not, how do I do this?

Feel free to leave suggestions and comments below

Here's what I got so far

Код:
  public OnPlayerCommandText(playerid, cmdtext[])
{
	
     if (strcmp("/vehicle", cmdtext, true, 8) ==0)
	{
	  AddStaticVehicle()
		
	}
	return 0;
}
Reply


Messages In This Thread
[HELP] Relative coordinates - by SirPotato - 04.03.2015, 22:02
Re: [HELP] Relative coordinates - by Vince - 04.03.2015, 22:05
Re: [HELP] Relative coordinates - by X337 - 05.03.2015, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)