18.03.2014, 16:30
Hi how to fix this?
This is my Spraytag System in my server when i test it in Filterscript it works
when i add this in gamemode this is not working and no response in EditDynamicObject, how to fix this?
Sorry for my English
ScreenShot : No Replacement response

rep+
this is the Code for stock
This is my Spraytag System in my server when i test it in Filterscript it works
when i add this in gamemode this is not working and no response in EditDynamicObject, how to fix this?
Sorry for my English

ScreenShot : No Replacement response

rep+
this is the Code for stock
Код:
stock CreateSprayTagForPlayer(playerid, Float:distance = 1.2) { new Float:pPos[4]; GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]); GetPlayerFacingAngle(playerid, pPos[3]); pPos[0] += distance * floatsin(-pPos[3], degrees); pPos[1] += distance * floatcos(-pPos[3], degrees); pPos[3] += 270.0; if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DUCK) { gPlayerTagObject[playerid] = CreateDynamicObject(19482, pPos[0], pPos[1], pPos[2] - 0.3, 0.0, 0.0, pPos[3]); } else { gPlayerTagObject[playerid] = CreateDynamicObject(19482, pPos[0], pPos[1], pPos[2], 0.0, 0.0, pPos[3]); } SetDynamicObjectMaterialText(gPlayerTagObject[playerid], 0, gPlayerTagText[playerid], OBJECT_MATERIAL_SIZE_256x256, gPlayerTagFont[playerid], gPlayerTagSize[playerid], gPlayerTagBold[playerid], gPlayerTagTextColor[playerid], 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); EditDynamicObject(playerid, gPlayerTagObject[playerid]); IsPlayerInTagEdit[playerid] = true; return 1; }