30.09.2009, 22:37
My idea is to have an afk command, and using one of the new features ( create3dtextlabel )
It will place "afk" above their heads.
.
Here's what I have so far.
I am asking for help because I don't understand the syntax of the function.
I placed 0s mostly, in hopes that it would work.
What's the correct way to do this?
It will place "afk" above their heads.
.
Here's what I have so far.
I am asking for help because I don't understand the syntax of the function.
I placed 0s mostly, in hopes that it would work.
pawn Код:
if(strcmp(cmd, "/afk", true) == 0) {
new afk;
Create3DTextLabel(afk, 0xFFFF00FF, 0, 0, 0, 100, 0, 0);
Attach3DTextLabelToPlayer(afk, playerid, 0, 0, 0, 0);
return 1;
}