20.03.2008, 00:20
Quote:
Originally Posted by wafffllesss
AddStaticVehicle(modelid, Float
![]() ![]() ![]() |
What i want to do is to be able to select these colors and insert them to the addstaticvehicles so For example, I Want this to give random colors when a player approaches or the server map changes, Because its a common stunt server and people like it, many people have requested it.
Thanks for any help.
PS. Currently I Currently Get a major application error when compiling, As soon as i add this, with the other its ok, but soon as this hits the pwn file, its errors. Can you check if its ok, I Noticed "tColor" shouldnt that be rColor?
pawn Код:
#define tColors 2
pawn Код:
new vColor[tColors][1] = {
pawn Код:
new rColor = random(sizeof(vColor));
AddStaticVehicle(451,1000,1000,15,280,vColor[rColor][0],vColor[rColor][0]);
Код:
--------------------------- pawncc.exe - Application Error --------------------------- The instruction at "0x100119ec" referenced memory at "0x00000044". The memory could not be "read".