Author Topic: Random ID's Help  (Read 2131 times)

0 Members and 1 Guest are viewing this topic.

yazeen

  • Guest
Random ID's Help
« on: June 12, 2011, 08:51:02 am »
how to Save Random id's
example: /c addprop it add's in dini : ID,xyzcoords,name,price,owner so the ID should be random numbers like 1-20
someone help!

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Random ID's Help
« Reply #1 on: June 12, 2011, 10:11:25 am »
[pawn]
new ID = (random(19) + 1);
[/pawn]
Do not PM me for support.