ZCMD Jetpack help
#1

Quote:

CMD:jetpack(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
if(sscanf(params, "u", playerid));
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE JETPACK);
return 1;
}

This is the code, and i get this error:

Quote:

C:\Users\Fiore\Desktop\zGaming GM\zGaming RP\gamemodes\ZRP.pwn(16442) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Line 16442 is:

Quote:

if(sscanf(params, "u", playerid));

Reply


Messages In This Thread
ZCMD Jetpack help - by Fiore - 22.10.2012, 14:35
Re: ZCMD Jetpack help - by SuperViper - 22.10.2012, 14:37
Re: ZCMD Jetpack help - by Fiore - 22.10.2012, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)