[TIP] How to know how far the range is
#4

Or you can make a command like /createcp [radius]
pawn Код:
dcmd(createcp,8,cmdtext);

dcmd_createcp(playerid, params[])
{
  if(!strlen(params)) return SendClientMessage(playerid,0xFFFFFFAA,"USE: /createcp [radius]");
  DisablePlayerRaceCheckpoint(playerid);
  new Float:radius,Float:x,Float:y,Float:z;
  radius = floatstr(params);
  GetPlayerPos(playerid,x,y,z);
  SetPlayerRaceCheckpoint(playerid,2,x,y,z,x,y,z,radius);
  SendClientMessage(playerid,0xFFFFFFAA,"CheckPoint Created!");
  return 1;
}
Reply


Messages In This Thread
[TIP] How to know how far the range is - by Torran - 30.04.2010, 09:55
Re: [TIP] How to know how far the range is - by Lorenc_ - 30.04.2010, 10:24
Re: [TIP] How to know how far the range is - by Onyx09 - 30.04.2010, 10:32
Re: [TIP] How to know how far the range is - by Zimon95 - 30.04.2010, 12:34
Re: [TIP] How to know how far the range is - by Torran - 30.04.2010, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)