09.04.2019, 23:40
#define FILTERSCRIPT
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/text", cmdtext, true, 10) == 0)
{
new Text3D:label = Create3DTextLabel("Text above player", 0x002020FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
return 1;
}
return 0;
}
You forgot return 0; :P But thanks a LOT man ! This is my first ever script made and I am so excited !
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/text", cmdtext, true, 10) == 0)
{
new Text3D:label = Create3DTextLabel("Text above player", 0x002020FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
return 1;
}
return 0;
}
You forgot return 0; :P But thanks a LOT man ! This is my first ever script made and I am so excited !
![grin](images/smilies/biggrin.gif)