flymode
#1

problem:
Код:
D:\server\gamemodes\Untitled2.pwn(41) : error 017: undefined symbol "flymode"
D:\server\gamemodes\Untitled2.pwn(41) : warning 215: expression has no effect
D:\server\gamemodes\Untitled2.pwn(41) : error 001: expected token: ";", but found "]"
D:\server\gamemodes\Untitled2.pwn(41) : error 029: invalid expression, assumed zero
D:\server\gamemodes\Untitled2.pwn(41) : fatal error 107: too many error messages on one line
script


Код:
CMD:flymode(playerid, params[])
{
	if(IsPlayerConnected(playerid))
	{
		    if(flymode[playerid] == 0)
		    {
		        GetPlayerName(playerid, sendername, sizeof(sendername));
	            flymode[playerid] = 1;
				InitFly(playerid);
				StartFly(playerid);
				SetPlayerHealthEx(playerid, 50000);
			}
		}
		else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, AdminOnly);
	}
	return 1;
}
Reply


Messages In This Thread
flymode - by enzulikeS - 11.04.2018, 10:55
Re: flymode - by zerruv - 11.04.2018, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)