28.11.2010, 17:21
i was scripting a bit with this function, and had this code:
and when i use that comand the client crash.
soo i think it's a bug, it i scripted something wrong please tell me.
pawn Code:
if(!strcmp(cmd, "/obtest", true)){
new tmp[256];
tmp = strtok(cmdtext, idx);
if(strlen(tmp))return SetPlayerAttachedObject(playerid, strval(tmp), 18689, 2, 0.0, 0.0, 0.2);
return SendClientMessage(playerid, COLOR_WHITE, "{0xFF0000FF}Esto {0x0000FFFF}es {0xFFB500FF}un {0xFF0FF0FF}error");
}
soo i think it's a bug, it i scripted something wrong please tell me.