How to create a checkpoint on the playerpos?
#1

Hey,
I have a small question...

Код:
if (strcmp("/dirk", cmdtext, true, 4) == 0)
	{
  		new Float:x, Float:y, Float:z;
  		GetPlayerPos(playerid, x, y, z);
 		printf("The player left when he was at %f,%f,%f.", x, y, z);
 		SetPlayerCheckpoint(playerid,Float:x, Float:y, Float:z, 3.0);
		return 1;
	}
I have this code but why doesn't it work? can someone make a working code for me?

Thanks



Reply
#2

Код:
if (strcmp("/dirk", cmdtext, true, 4) == 0)
	{
  		new Float:x, Float:y, Float:z;
  		GetPlayerPos(playerid, x, y, z);
 		printf("The player left when he was at %f,%f,%f.", x, y, z);
 		SetPlayerCheckpoint(playerid,x, y,z, 3.0);
		return 1;
	}
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)