16.01.2010, 10:01
Quote:
Originally Posted by bluray
why is that some areas understand what playerid means and others dont?
|
For example:
public OnGameModeInit() - has no parameters.
public OnPlayerConnect(playerid) - has playerid defined.
public OnPlayerDeath(playerid, killerid, reason) - has playerid, killerid and reason defined.
You can use the parameters defined in the callback.