GetPlayerWeapon : Tag Mismatch = problem
#1

I get errors on the GetPlayerWeapon line...

Код:
	CMD:skydive(playerid, params[])
{
!IsPlayerLuxAdminLevel(playerid, 3) || !IsPlayerAdmin(playerid);
{
new Float:pPos[3];
new km;
if(sscanf(params, "i", km)) return SendClientMessage(playerid, COLOR_RED, "John: /skydive [meters]");
if(km <= -1 || km >= 3001) return SendClientMessage(playerid, COLOR_RED, "John: You cannot use negative amount or amounts higher than 3000! Its too Dangerous!");
if(!GetPlayerWeapon(playerid) == 46) return SendClientMessage(playerid, COLOR_RED, "John: Probably would've been better with a /chute...");
if(IsPlayerInWater(playerid))return SendClientMessage(playerid, COLOR_RED, "John: You cannot be force pushed while in water!");
GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]);
SetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]+km);
}
return 1;
}
Quote:

C:\Documents and Settings\**\**\**\**\filterscripts\DRP.pwn(113) : warning 213: tag mismatch

Reply


Messages In This Thread
GetPlayerWeapon : Tag Mismatch = problem - by cray1100 - 07.08.2013, 03:18
Re: GetPlayerWeapon : Tag Mismatch = problem - by PT - 07.08.2013, 03:25
Re: GetPlayerWeapon : Tag Mismatch = problem - by cray1100 - 07.08.2013, 03:33
Re: GetPlayerWeapon : Tag Mismatch = problem - by PT - 07.08.2013, 03:55
Re: GetPlayerWeapon : Tag Mismatch = problem - by cray1100 - 07.08.2013, 04:15
Re: GetPlayerWeapon : Tag Mismatch = problem - by cray1100 - 07.08.2013, 04:35
Re: GetPlayerWeapon : Tag Mismatch = problem - by nickdodd25 - 07.08.2013, 06:39
Re: GetPlayerWeapon : Tag Mismatch = problem - by cray1100 - 07.08.2013, 07:05
Re: GetPlayerWeapon : Tag Mismatch = problem - by dominik523 - 07.08.2013, 08:12

Forum Jump:


Users browsing this thread: 2 Guest(s)