variable problem
#8

Because you are trying to store multiple pieces of data in the variable (or an "array" of data if you will!), you must declare the variable as an array:
pawn Код:
new iSpawn[4] = {SPAWN1,SPAWN2,SPAWN3,SPAWN4};
If you would like an example of random spawn locations, checkout the example at the bottom of this Wiki page: https://sampwiki.blast.hk/wiki/Random

Good luck!
Reply


Messages In This Thread
variable problem - by sasuga - 15.06.2011, 01:51
Re: variable problem - by Cenation - 15.06.2011, 01:54
Re: variable problem - by sasuga - 15.06.2011, 01:59
Re: variable problem - by hoodline - 15.06.2011, 02:00
Re: variable problem - by sasuga - 15.06.2011, 02:03
Re: variable problem - by hoodline - 15.06.2011, 02:06
Re: variable problem - by sasuga - 15.06.2011, 02:10
Re: variable problem - by Benjo - 15.06.2011, 05:24
Re: variable problem - by Ash. - 15.06.2011, 06:09

Forum Jump:


Users browsing this thread: 1 Guest(s)