23.05.2015, 13:16
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:
Anyideas?
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]);