SA-MP Forums Archive
Checkpoint help! ( With Code ) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Checkpoint help! ( With Code ) (/showthread.php?tid=68209)



Checkpoint help! ( With Code ) - Jaztek_Hodzic - 08.03.2009

Код:
Can someone please help? i need to have a script that will mark me on the map

i tried this
  if(strcmp(cmdtext, "/red", true) == 0)
  {
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerCheckpoint(playerid, x, y, z, 6);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You Are Now Marked!");
return 1;
}
}
but only i can see it.. and it doesnt follow where i go HELP PLEASE

im pretty noob at scripting. but if someone can help that would be awesome



Re: Checkpoint help! ( With Code ) - hazdog - 08.03.2009

it doesnt know what the floats are so it assums the coords are 0, 0, 0.




Re: Checkpoint help! ( With Code ) - Jaztek_Hodzic - 08.03.2009

can you tell me what i should do


Re: Checkpoint help! ( With Code ) - 56avenue - 08.03.2009

Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerID, x, y, z);
SetPlayerCheckpoint(playerid, x,y,z 6);
And whats the point of marking yourself with a checkpoint? O.o


Re: Checkpoint help! ( With Code ) - Jaztek_Hodzic - 08.03.2009

for events like Find meh kill meh thanks for help


Re: Checkpoint help! ( With Code ) - 56avenue - 08.03.2009

Quote:
Originally Posted by Jaztek_Hodzic
for events like Find meh kill meh thanks for help
That code there will only show the checkpoint for the player who types the command.


Re: Checkpoint help! ( With Code ) - Jaztek_Hodzic - 08.03.2009

how do i make it follow me?