Checkpoint help! ( With Code )
#1

Код:
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
Reply
#2

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

Reply
#3

can you tell me what i should do
Reply
#4

Код:
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
Reply
#5

for events like Find meh kill meh thanks for help
Reply
#6

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.
Reply
#7

how do i make it follow me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)