Home
Help
Search
Login
Register
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
Random ID's Help
« previous
next »
Print
Pages: [
1
]
Author
Topic: Random ID's Help (Read 2133 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!
Logged
stormeus
VC:MP Developer
VC:MP Veteran
Posts: 1122
Re: Random ID's Help
«
Reply #1 on:
June 12, 2011, 10:11:25 am »
[pawn]
new ID = (random(19) + 1);
[/pawn]
Logged
Do not PM me for support.
Print
Pages: [
1
]
« previous
next »
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
Random ID's Help