SetPlayerWorldBounds
#1

i am making an epic gangwar, and i wanted to set the worldbounds like this:

SetPlayerWorldBounds(playerid, 2927.337, 1923.388, -1054.171, -1942.413);

but when i try to compile this i get this error:

\gamemodes\Gang_Zones.pwn(42) : error 017: undefined symbol "playerid"

can anybody please help ?
Reply
#2

well, it says that the varriable 'playerid' doesn't exist in the current callback you used.
where you've put it?
Reply
#3

under OnGameModeInit()
Reply
#4

ive fixed it, placing it under OnPlayerSpawn fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)