15.10.2010, 18:25
Hi, I've got problem with this thingy
new abc[255];
format(abc, sizeof(abc), "%s", dini_Get(udb_encode(playerid), "something")); /////// this is causing the problem
BBsomething[playerid] = Create3DTextLabel("BLAH", COLOR_BB, 0.0, 0.0, 0.0, 30.0, 0, 0);
if(abc> 0) // what about this... can't be like thiiis
{
Attach3DTextLabelToPlayer(BBsomething[playerid], playerid, 0.0, 0.0, 1.0);
}
And I get this: H:\whatever\new\map.pwn(11434) : error 035: argument type mismatch (argument 1)
Any help ?
new abc[255];
format(abc, sizeof(abc), "%s", dini_Get(udb_encode(playerid), "something")); /////// this is causing the problem
BBsomething[playerid] = Create3DTextLabel("BLAH", COLOR_BB, 0.0, 0.0, 0.0, 30.0, 0, 0);
if(abc> 0) // what about this... can't be like thiiis
{
Attach3DTextLabelToPlayer(BBsomething[playerid], playerid, 0.0, 0.0, 1.0);
}
And I get this: H:\whatever\new\map.pwn(11434) : error 035: argument type mismatch (argument 1)
Any help ?