Update
#1

How i can update this label when i press on save icon on a object

pawn Код:
new str[128];
    format(str, sizeof str, "Model ID: %d \n Object Editing ID: %d", objectid, PlayerObjectCount[playerid]);
    Create3DTextLabel(str, COLOR_ORANGE, 30.0, 40.0, 50.0, 40.0, 0);
this is from the add object command
Reply
#2

https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Reply
#3

And i have one /deleteallobject command, how i can delete all labels on this command? like it count the labels
Reply
#4

Bump
Reply
#5

Do you use a streamer like icognito's ?
Reply
#6

Dude, read the wiki and search around a bit!
https://sampwiki.blast.hk/wiki/Delete3DTextLabel
Reply
#7

I have searched i know how to delete but how i can count them

Yea i use streamer
Reply
#8

If you use icognito's streamer, then you can use the function "CountDynamic3DTextLabels();" to count all 3D text labels (dynamic one's) and the function "DestroyAllDynamic3DTextLabels();" to destroy all of them
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)