SA-MP Forums Archive
/wave cmd - 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: /wave cmd (/showthread.php?tid=496300)



/wave cmd - AroseKhanNiazi - 21.02.2014

Fixed


Re: /wave cmd - Pakistanboy321 - 22.02.2014

try this.
Код:
COMMAND:wave(playerid, params[]) return  AnimLoopPlayer(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Wave



Re: /wave cmd - AroseKhanNiazi - 22.02.2014

Quote:
Originally Posted by Pakistanboy321
Посмотреть сообщение
try this.
Код:
COMMAND:wave(playerid, params[]) return  AnimLoopPlayer(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Wave
it will only do animation


Re: /wave cmd - Don_Cage - 22.02.2014

here is the fail.
Код:
format(string, sizeof(string), "*%s (%d) Waves At %s (%d).", pname, playerid, nPlayer, nName);
if you look closely i think you can spot it.
if not, nPlayer is the ID, and nName is the name right? You made it show the ID in the string and name in the integer.
Just change place on those 2

EDIT: do the same for the line with corpse


Re: /wave cmd - AroseKhanNiazi - 23.02.2014

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
here is the fail.
Код:
format(string, sizeof(string), "*%s (%d) Waves At %s (%d).", pname, playerid, nPlayer, nName);
if you look closely i think you can spot it.
if not, nPlayer is the ID, and nName is the name right? You made it show the ID in the string and name in the integer.
Just change place on those 2

EDIT: do the same for the line with corpse
Love U bro Thanks xD +rep