14.05.2012, 17:09
Quote:
#include <a_samp>
#if defined FILTERSCRIPT public OnFilterScriptInit() { public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/teleport", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, changeme); return 1; } return 0; } Is it souse to go like this? |
u need to change the "changeme" to the x,y,z pos of ur map so i suggest u go ingame (ofc loading the map in the server first) then doing /save map go to your samp folder and saved positions which should be in your gta userfiles and get the x,y,z for e.g
say i have already done the save part i go to my saved positions and find the code which should look something like this:
AddStaticVehicle(555,-1773.7599,1205.3926,24.8102,358.0844,58,1); // map
note: THIS IS ONLY EXAMPLE !
the numbers i have made bold r the numbers which u have to replace the changeme with
(again this is example use r own saved pos or ur come to what ever pos i put here )