Help with random spawn points
#1

Guys i followed this tut :
https://sampforum.blast.hk/showthread.php?tid=162488

But i got those errors:
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(69) : error 017: undefined symbol "RandomSpawns"
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(69) : error 029: invalid expression, assumed zero
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(69) : warning 215: expression has no effect
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(70) : error 017: undefined symbol "RandomSpawns"
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(71) : error 017: undefined symbol "RandomSpawns"

Those are lines 69,70 and 71:
pawn Код:
new Random = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1],RandomSpawns[Random][2]);
        SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
Anyideas?
Reply


Messages In This Thread
Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:16
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 13:22
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:40
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 13:43
Re: Help with random spawn points - by LMaxCo - 23.05.2015, 13:48
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 13:58
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 14:01
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 14:10
Re: Help with random spawn points - by Konstantinos - 23.05.2015, 14:16
Re: Help with random spawn points - by 7Ahmad7 - 23.05.2015, 14:24

Forum Jump:


Users browsing this thread: 3 Guest(s)