A Little bit! help please =]!
#1

I got 4 Errors =[ due to some script I made..
Here's the line :

PHP код:
    if(IsPlayerHoldingObject(playerid)) StopPlayerHoldingObject(playerid); 
The errors :

PHP код:
C:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : error 001expected 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 029invalid expressionassumed zero
C
:\Documents and Settings\gidon\щемзп дтбегд\дчбцйн щм бп\False RolePlay v0.5\filterscripts\Hss.pwn(64) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

The whole command ( if needed ) :

PHP код:
  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;
    } 
Thank ya'll.
Reply
#2

What are the 4 errors, and is that the full script? :/
Reply
#3

Really sorry about that =[, here's edit.

Btw, were playing on your server, such nice one .
Reply
#4

pawn Код:
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;
    }
Reply
#5

Quote:

This function was removed in SA-MP 0.3c. check IsPlayerAttachedObjectSlotUsed

https://sampwiki.blast.hk/wiki/IsPlayerA...ObjectSlotUsed
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)