Callback.
#1

Do not call the callback "OnClanInsert".
Код HTML:
new ORM:ormid = Clan[7][ORM_ID] = orm_create("clans",MySQLCon);
    orm_insert(ormid,"OnClanInsert","d",playerid);
Код HTML:
forward OnClanInsert(playerid);
public OnClanInsert(playerid)
{
    printf("CALLED.");
    return 1;
}
Reply
#2

nvm i am retarded ignore this post pls ^^
Reply
#3

I can't insert because you have not linked any variables (orm_addvar_*). The ORM thing is not magic and it can't guess where or what it needs to insert.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)