if(IWantHelp == true) return HelpMe, Rep++;
#2

PHP код:
new bool:help[MAX_PLAYERS];
new 
bool:helped[MAX_PLAYERS];
enum rep
{
    
help
};
new 
info[MAX_PLAYERS][rep];
stock help(nezo)
{
help[playerid] == true;
helped[nezo] == true;
SendClientMessage(playerid, -1"Thank you for helping");
info[playerid][help]++;
return 
1;
}
forward OnPlayerHelp(playeridnezo);
public 
OnPlayerHelp(playeridnezo);
{
if(
help[playerid] == false && helped[nezo] == false) return SendClientMessage(playerid, -1"Please Help I'll rep");
help(nezo);
return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)