29.07.2013, 01:54
Hi,
I'm making a rape command for my Cops And Robbers server.
I have the following problem.
Whenever I try to compile my gamemode I get this warning.
warning 203: symbol is never used: RapesNames, but I'm actually using it..
Code:
Below the command..
Can you help me to get rid of that annoying warning, please.
Thanks.
I'm making a rape command for my Cops And Robbers server.
I have the following problem.
Whenever I try to compile my gamemode I get this warning.
warning 203: symbol is never used: RapesNames, but I'm actually using it..
Code:
pawn Код:
new RapesNames[][] =
{
"Chlamydia",
"Syphilis",
"Gonorrhea",
"HPV",
"STD",
"Hepatitis B"
};
pawn Код:
//Some stuff here..
new rand;
rand = random(sizeof(RapesNames));
SendFMessage(INVALID_PLAYER_ID, COLOR_MAROON, "%s has been infected of %s by %s.", Name(targetid), rand, Name(playerid));
Thanks.