26.12.2012, 11:36
HI,can you please say how to make code,like i want this .In game i type /(command) and it creates checkpoint at current position.
if (strcmp("/test", cmdtext, true, 10) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerCheckpoint(playerid,x,y,z,3);
return 1;
}