16.08.2011, 23:08
So i've created some teleports for my script but it wont let me teleport and "bring" my vehicle. The vehicle stays where it was when i type the command and i get teleported.
How do i fix this?
Here is the code for the teleport:
Thanks in advance
How do i fix this?
Here is the code for the teleport:
Код:
if (strcmp("/spawn", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,-50.0743,-274.4324,5.4297); // Do something here SetPlayerFacingAngle(playerid,180.0); SendClientMessage(playerid,0x00FF00FF,"You have teleported to the spawnpoint"); return 1;