16.01.2010, 08:51
Hi im really stumped. For a certain reason i need to use the word "playerid" in the section Public OnGameModeInit
cause i am using the function
GetPlayerWorld(playerid)
But the problem is playerid wont work in OnGameModeInit, for some reason it needs to be defined.
So i tried fixing it by at the top of the script under main() i placed
PlayerWorld = GetPlayerVirtualWorld(playerid);
new playerid;
playerid =
but i dont know what the function would be to go after playerid =
so im really screw up here. why is that some areas understand what playerid means and others dont?
PLEASE HELP
cause i am using the function
GetPlayerWorld(playerid)
But the problem is playerid wont work in OnGameModeInit, for some reason it needs to be defined.
So i tried fixing it by at the top of the script under main() i placed
PlayerWorld = GetPlayerVirtualWorld(playerid);
new playerid;
playerid =
but i dont know what the function would be to go after playerid =
so im really screw up here. why is that some areas understand what playerid means and others dont?
PLEASE HELP