14.07.2009, 14:22
why when sometimers i'm pickuping the "ServerHelp" pickup
i get the result of "Pot" pickup?
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pot) PotWinner(playerid, PotReward);
else if(pickupid == ServerHelp)
{
new string[256], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), ".( двтъ (мтжшд бщшъ - 1 ,%s щмен", name);
SCM(playerid, ADMIN, string);
SCM(playerid, GREEN, "щшъ жд дечн мотп дчмап ееаш, бщшъ жд йтшле");
SCM(playerid, GREEN, "фтймейеъ мчмап, мчмарйн щроцайн бщмен айъре");
SCM(playerid, GREEN, ".ефтймейеъ вгемеъ щм щзчрй чдймъ ейвййос");
SCM(playerid, GREEN, "./Help - мтжшд ресфъ, /Credits - чшгйийн");
}
return 1;
}
i get the result of "Pot" pickup?
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pot) PotWinner(playerid, PotReward);
else if(pickupid == ServerHelp)
{
new string[256], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), ".( двтъ (мтжшд бщшъ - 1 ,%s щмен", name);
SCM(playerid, ADMIN, string);
SCM(playerid, GREEN, "щшъ жд дечн мотп дчмап ееаш, бщшъ жд йтшле");
SCM(playerid, GREEN, "фтймейеъ мчмап, мчмарйн щроцайн бщмен айъре");
SCM(playerid, GREEN, ".ефтймейеъ вгемеъ щм щзчрй чдймъ ейвййос");
SCM(playerid, GREEN, "./Help - мтжшд ресфъ, /Credits - чшгйийн");
}
return 1;
}