if(IsPlayerHoldingObject(playerid)) StopPlayerHoldingObject(playerid);
C:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : error 036: empty statement
C:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : error 029: invalid expression, assumed zero
C:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(!strcmp(cmd, "/rsuitcase", true))
{
if(IsPlayerConnected(playerid))
{
if(logeed[playerid])
{
if(dini_Int(File(playerid),"SuitCase") == 1)
{
if(IsPlayerHoldingObject(playerid)) StopPlayerHoldingObject(playerid);
PlayerInfo[playerid][suitcaseon] = 1;
}
}
}
return 1;
}
if(!strcmp(cmd, "/rsuitcase", true))
{
if(IsPlayerConnected(playerid))
{
if(logeed[playerid])
{
if(dini_Int(File(playerid),"SuitCase") == 1)
{
if(IsPlayerHoldingObject(playerid)) return StopPlayerHoldingObject(playerid);
PlayerInfo[playerid][suitcaseon] = 1;
}
}
}
return 1;
}
This function was removed in SA-MP 0.3c. check IsPlayerAttachedObjectSlotUsed |