09.04.2019, 22:24
Hello can someone correct me ?
#include <a_samp>
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;
}
Whenever i save this as an .amx and add that filterscript to server.cfg it instantly crashes :/
(by the way, it is only this script, nothing more, nothing less)
#include <a_samp>
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;
}
Whenever i save this as an .amx and add that filterscript to server.cfg it instantly crashes :/
(by the way, it is only this script, nothing more, nothing less)