Help! warning 209:
#1

Help. I got this error

warning 209: function "OnPlayerStateChange" should return a value




Someone help me please?
Reply
#2

before the last closing bracket, add "return 1;"
Reply
#3

I still got warning
Reply
#4

pawn Код:
if(Vehicle == Ops2) {
if(strcmp(PlayerName,"Ips[MDZ]",true)) {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, CODE, message);
}
}
return 1;
}
return 1; //Returning a value for OnPlayerStateChange here
}
public OnVehicleSpawn(vehicleid) blabla
Reply
#5

Oops. sorry I mistaken. I have no warnings now.. THanks a lot bud! +rep !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)