C:\Users\win 8.1\Downloads\trucking\pawno\include\YSI\y_iterate.inc(909) : warning 202: number of arguments does not match definition C:\Users\win 8.1\Downloads\trucking\pawno\include\YSI\y_iterate.inc(922) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
forward Itter_OnPlayerDisconnect(playerid, reason);
Err, have you or one of your includes modified OnPlayerDisconnect? And are you using the latest version of YSI?
|
public OnPlayerDeath(playerid, killerid, reason) { if(DiedHungry[playerid] == true) { SetProgressBarValue(PGHUNGER, 100); UpdateProgressBar(PGHUNGER, playerid); SetPVarInt(playerid,"HUNGER", 100); } if(DiedThirst[playerid] == true) { SetProgressBarValue(PGTHIRST, 100); UpdateProgressBar(PGTHIRST, playerid); SetPVarInt(playerid, "THIRST", 100); } return 1; }