Jump to content

random editat


star69

Recommended Posts

forward FireLocLV();
public FireLocLV()
{

	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */693.69, 1966.36, 5.53);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */698.24, 1949.53, 5.53);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */715.44, 1971.25, 9.56);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */684.42, 1970.22, 9.29);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */685.54, 1967.23, 5.53);

}

forward FireLocBandits();
public FireLocBandits()
{

	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */1485.84, 2232.04, 11.8);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */1488.16, 2208.43, 11.23);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */1481.18, 2149.20, 11.02);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */1483.65, 2244.61, 11.02);
	/*CallRemoteFuntion("*/CreateFire(/*", "fff", */1492.48, 2134.33, 10.82);

}

new RandomFireLoc[][] =
{
	"FireLocLV", // ID = 1
	"FireLocBandits" // ID = 2


};

forward StartFire();
public StartFire()
{

    new randFire = random(sizeof(RandomFireLoc));
    //CreateFire(/*", "fff", */randFire);
    randFire();

}

 

error 012: invalid function call, not a valid address
error 029: invalid expression, assumed zero
linia randFire(); e cu problema
 
Ce pot sa fac?
 
vreau ca in
forward StartFire();
public StartFire()
{



}

sa fie

random 

FireLocBandits(); sau FireLocLv();
 

 

 

Edited by star69
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.