12.10.2009, 15:41
I've done it like this:
Could you tell my what am I doing wrong here ? Thanks.
pawn Код:
new sampletext;
public OnGameModeInit()
{
sampletext = Create3DTextLabel("This is text",0xEEEE88FF,1259.3859,-785.4590,92.7500,7.0,0,1); // TAG MISMATCH
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/samplecommand", cmdtext, true, 13) == 0)
{
Update3DTextLabelText(sampletext,0xEEEE88FF,"Yay, i changed it"); // TAG MISMATCH
return 1;
}
return 0;
}