[Tutorial] How to make an anti-teamkill -Easy- (with OPSP)
#7

Hiddos, I've never quite understood why the API was programmed to save a lot of method's returns as variables - such as GetPlayerHealth and GetPlayerName. Surely just returning it would be easier for the user, so we could just do:
pawn Code:
new Float:hp = GetPlayerHealth(playerid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)