28.12.2012, 09:43
(
Последний раз редактировалось Calvingreen17; 28.12.2012 в 11:06.
)
Quote:
|
It is Pawn, pawno is the compiler.
And please, don't double post just use the edit button. |
EDIT:
Oh, and my bad, Pawn scripting lol.
EDIT again:
So, I went ahead and tried to make my own /setcustomrank command:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/setcustomrank", cmdtext, true, 10) == 0)
{
new str[128];
format(str, sizeof(str), "%s\n%s", str, cmdtext);
new Text3D:label3 = Create3DTextLabel(str, 0xFFFF00FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label3, playerid, 0.0, 0.0, 0.2);
SendClientMessage(playerid, 0x33AA33AA, "You have set your rank to %s");
return 1;
}
return 0;
}


