17.09.2012, 18:06
So I have this:
Its on my /dooredit command, you can do /dooredit name and then changed the name to whatever you enter, although im having problems
It probably wont work in a strcmp or w/e
So could someone make a /doorname [doorid] [namehere] CMD for me please?
I tried to do one but it never changed the name of the dynamic door
thanks +rep to anyone who can help
Код:
else if(strcmp(params, "name", true) == 0) { format(DDoorsInfo[doorid][ddDescription], 128, "%s", doorname); SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "You have changed the name of the door!"); if(IsValidDynamicPickup(DDoorsInfo[doorid][ddPickupID])) DestroyDynamicPickup(DDoorsInfo[doorid][ddPickupID]); if(IsValidDynamic3DTextLabel(DDoorsInfo[doorid][ddTextID])) DestroyDynamic3DTextLabel(DDoorsInfo[doorid][ddTextID]); CreateDynamicDoor(doorid); }
It probably wont work in a strcmp or w/e
So could someone make a /doorname [doorid] [namehere] CMD for me please?
I tried to do one but it never changed the name of the dynamic door
thanks +rep to anyone who can help