Dini Problem... :/
#1

Well, I had a REALLY wierd problem today... Look at the Errors:
PHP Code:
C:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 017undefined symbol "dini_Exist"
C:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 029invalid expressionassumed zero
C
:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 076syntax error in the expression, or invalid function call
C
:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Look at this ^^^
And now, The script:
pawn Code:
public OnPlayerConnect(playerid)
{
    if(dini_Exist(pFile(playerid)) && dini_Isset(pFile(playerid), "OC"))) CreateVehicle(dini_Int(vFile(pCarid) "Model"), dini_Int(vFile(pCarid), "PosX"), dini_Int(vFile(pCarid), "PosY"), dini_Int(vFile(pCarid), "PosZ"), dini_Int(vFile(pCarid), "Rot"), dini_Int(vFile(pCarid), "Color1"), dini_Int(vFile(pCarid), "Color2"), 100000);
    return 1;
}
I dunno why it like that. H~E~L~P
Reply
#2

it's
pawn Code:
if(dini_Exists(...))
not
pawn Code:
if(dini_Exist(...))
Reply
#3

Quote:
Originally Posted by Drebin
View Post
it's
pawn Code:
if(dini_Exists(...))
not
pawn Code:
if(dini_Exist(...))
But now:
PHP Code:
C:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 076syntax error in the expression, or invalid function call
C
:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : warning 215expression has no effect
C
:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 001expected token";"but found ")"
C:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : error 029invalid expressionassumed zero
C
:\Users\Yuval\Desktop\UberDeathmatch\filterscripts\YCOS.pwn(50) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

pawn Code:
public OnPlayerConnect(playerid)
{
    if(dini_Exists(pFile(playerid)) && dini_Isset(pFile(playerid), "OC")) CreateVehicle(dini_Int(vFile(pCarid) "Model"), dini_Int(vFile(pCarid), "PosX"), dini_Int(vFile(pCarid), "PosY"), dini_Int(vFile(pCarid), "PosZ"), dini_Int(vFile(pCarid), "Rot"), dini_Int(vFile(pCarid), "Color1"), dini_Int(vFile(pCarid), "Color2"), 100000);
    return 1;
}
Reply
#4

Someone?
Reply
#5

pawn Code:
dini_Int(vFile(pCarid) "Model")
Anything wrong here?
Reply
#6

pawn Code:
public OnPlayerConnect(playerid)
{
    if(dini_Exists(pFile(playerid)) && dini_Isset(pFile(playerid), "OC"))
    {
        CreateVehicle(dini_Int(vFile(pCarid),"Model"),dini_Int(vFile(pCarid),"PosX"),dini_Int(vFile(pCarid),"PosY"),dini_Int(vFile(pCarid),"PosZ"),dini_Int(vFile(pCarid),"Rot"),dini_Int(vFile(pCarid),"Color1"),dini_Int(vFile(pCarid),"Color2"),100000);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)