03.07.2012, 07:06
Try to change it to this:
Pretty sure you need a string length of the command, of which is 8.
And change the setObjectMaterialText to this:
pawn Код:
if(!strcmp(cmdtext, "/piscina", true, 8))
And change the setObjectMaterialText to this:
pawn Код:
SetObjectMaterialText(myobject, "Sa-mp {FFFFFF}oXiGen{008500}Creat {FF8200}or", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);