Setting a checkpoint for a player?
#1

Hi, I am using Ingonito's streamer and I am wondering how I can make a checkpoint for a player who types a command.

Because when a player types the checkpoint command now it sets a checkpoint for everyone.
Reply
#2

pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
-1 mean all player (CMIIW)
Reply
#3

Alrighty, how would I make it so when a players types the command he will only see the checkpoint, I tried adding playerid but it didn't work.
Reply
#4

Show us your failed code.
Reply
#5

All's I need to know is how to get it so when a player types the command, how it would set his ID. It has nothing to do with the code.
Reply
#6

pawn Код:
CMD:sadgfsdf(playerid)
{
    CreateDynamicCP(1231,2323,4523,23,0,0,playerid);
    return 1;
}
Reply
#7

Try this ?
Код:
CreateDynamicCP(1231.0,2323.0,4523.0,23,0,0,playerid,100.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)