Float Help
#3

Quote:
Originally Posted by Daren_Jacobson
using dcmd&sscanf

pawn Код:
dcmd_ChangeSpawn(playerid, params[])
{
  new level1, level2, Float:val;
  if (sscanf(params, "iif", level1, level2, val)) SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /ChangeSpawn [loc-1] [x=0 y=1...] [value]");
  else
    WarLoc[level1][level2] = val;
  return 1;
}
k Thanks! It works (:
Reply


Messages In This Thread
Float Help - by Nameless303 - 05.11.2009, 23:55
Re: Float Help - by Daren_Jacobson - 06.11.2009, 00:02
Re: Float Help - by Nameless303 - 06.11.2009, 00:24

Forum Jump:


Users browsing this thread: 1 Guest(s)