/ddname help(small bug) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /ddname help(small bug) (
/showthread.php?tid=378272)
/ddname help(small bug) -
RLGaming - 17.09.2012
I believe this is a small bug
Command:
Код:
CMD:ddname(playerid, params[]) {
if(PlayerInfo[playerid][pAdmin] < 4) {
SendClientMessageEx(playerid, COLOR_WHITE, "You are not authorized to use that command.");
}
else {
new
szName[128], doorid, doorname[128],
iDoorID;
if(sscanf(params, "ds[128]", iDoorID, szName)) {
return SendClientMessageEx(playerid, COLOR_GREY, "USAGE: /ddname [doorid] [name]");
}
format(DDoorsInfo[doorid][ddDescription], 128, "%s", doorname);
SendClientMessageEx(playerid, COLOR_WHITE, "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);
SaveDynamicDoors();
}
return 1;
}
It doesn't recieve any warnings or anything, but I can't change the name of a DD when i do it, I have added everything in and such
Whenever I do the command(eg: /ddname [dooridhere] [namehere] - It just repeats the CMD
Any help on this please
Re: /ddname help(small bug) -
ThomasCarter - 17.09.2012
Please tell me this is not NGRP edit?
Re: /ddname help(small bug) -
RLGaming - 17.09.2012
Nope
Re: /ddname help(small bug) -
ReneG - 17.09.2012
You're not going to get much help with NGG script.
Re: /ddname help(small bug) -
RLGaming - 17.09.2012
Quote:
Originally Posted by VincentDunn
You're not going to get much help with NGG script.
|
Seeing as it isn't
If your not going to help, don't post
Re: /ddname help(small bug) -
ReneG - 17.09.2012
It's from the NGG script, you aren't fooling anyone.
Re: /ddname help(small bug) -
LuxurioN - 17.09.2012
How's it feel being known you've been brought at such a low, pathetic level that you're even trying to hide the fact that you are using a NGG script?
Re: /ddname help(small bug) -
RLGaming - 17.09.2012
Quote:
Originally Posted by LuxurioN
How's it feel being known you've been brought at such a low, pathetic level that you're even trying to hide the fact that you are using a NGG script?
|
Not using it, using the dynamic door system.