02.07.2018, 15:31
Код:
forward GangTag_OnSetText(i); public GangTag_OnSetText(i) { new iRows, szResult[MAX_GANGTAGS_LEN], iCount, color, fontid; cache_get_row_count(iRows); while(iCount < iRows) { cache_get_value_name(iCount, "text", szResult); cache_get_value_name_int(iCount, "color", color); cache_get_value_name_int(iCount, "fontid", fontid); SetDynamicObjectMaterialText(arrGangTags[i][gt_iObjectID], 0, szResult, OBJECT_MATERIAL_SIZE_512x512, szFonts[fontid], 1000 / strlen(szResult), 1, GangTag_IntColor(color), 0, 1); ++iCount; } return 1; }
Код:
[01:12:38] [zcmd] [Eatlag]: /edittagpoint 2 [01:12:40] [debug] Run time error 11: "Divide by zero" [01:12:40] [debug] AMX backtrace: [01:12:40] [debug] #0 0076de18 in public GangTag_OnSetText (i=2) at ./includes/group/gangtags.pwn:213 [01:12:40] [debug] Run time error 11: "Divide by zero" [01:12:40] [debug] AMX backtrace: [01:12:40] [debug] #0 0076de18 in public GangTag_OnSetText (i=2) at ./includes/group/gangtags.pwn:213 [01:12:40] [debug] Run time error 11: "Divide by zero" [01:12:40] [debug] AMX backtrace: [01:12:40] [debug] #0 0076de18 in public GangTag_OnSetText (i=2) at ./includes/group/gangtags.pwn:213 [01:12:40] [debug] Run time error 11: "Divide by zero" [01:12:40] [debug] AMX backtrace: [01:12:40] [debug] #0 0076de18 in public GangTag_OnSetText (i=2) at ./includes/group/gangtags.pwn:213 [01:12:40] [debug] Run time error 11: "Divide by zero" [01:12:40] [debug] AMX backtrace: [01:12:40] [debug] #0 0076de18 in public GangTag_OnSetText (i=2) at ./includes/group/gangtags.pwn:213
Код:
[01:08:33] Usage: /edittag [ID] [01:09:11] You have successfully edited gang tag ID 1 [01:09:11] You have successfully edited gang tag ID 1 [01:09:11] You have successfully edited gang tag ID 1 [01:09:11] You have successfully edited gang tag ID 1 [01:09:11] You have successfully edited gang tag ID 1 [01:09:52] You need a spray can to tag a wall. [01:10:06] [Gang Tags] {DDDDDD}Spraying... Use /tag again to stop tagging. [01:11:03] You whispered to Kelly: wtf are you doing [01:12:22] You have successfully created a gang tag point (ID 2) [01:12:31] Usage: /edittag [ID] [01:12:35] You cancelled editing the gang tag. [01:12:42] You have successfully edited gang tag ID 2 [01:12:42] You have successfully edited gang tag ID 2 [01:12:42] You have successfully edited gang tag ID 2 [01:12:42] You have successfully edited gang tag ID 2 [01:12:42] You have successfully edited gang tag ID 2 [01:15:35] You have successfully created a gang tag point (ID 3) [01:15:46] You have successfully edited gang tag ID 3 [01:15:46] You have successfully edited gang tag ID 3 [01:15:46] You have successfully edited gang tag ID 3 [01:15:46] You have successfully edited gang tag ID 3 [01:15:46] You have successfully edited gang tag ID 3 [01:18:39] You have successfully edited gang tag ID 3 [01:18:39] You have successfully edited gang tag ID 3 [01:18:39] You have successfully edited gang tag ID 3 [01:18:39] You have successfully edited gang tag ID 3 [01:18:39] You have successfully edited gang tag ID 3 [01:19:46] (Australian accent) Eatlag says: Lol [01:19:50] You have successfully created a gang tag point (ID 4) [01:19:59] You have successfully edited gang tag ID 4 [01:19:59] You have successfully edited gang tag ID 4 [01:19:59] You have successfully edited gang tag ID 4 [01:19:59] You have successfully edited gang tag ID 4 [01:19:59] You have successfully edited gang tag ID 4