Alot of warnings..
#1

This is the system:
Quote:

new string[16];
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
format(string,sizeof(string),"-%.0f hp",amount);
SetPlayerChatBubble(playerid,string,0xFFFFFF,150.0 ,2500);
return 1;
}

Quote:

And this is the warnings:
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level

Reply


Messages In This Thread
Alot of warnings.. - by Misterflowers - 17.09.2012, 14:08
Re: Alot of warnings.. - by Juan.x - 17.09.2012, 14:11
Re: Alot of warnings.. - by dennissk - 17.09.2012, 14:21
Re: Alot of warnings.. - by AtItsMax - 17.09.2012, 14:52

Forum Jump:


Users browsing this thread: 3 Guest(s)