Warnings..
#1

C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(74245) : warning 202: number of arguments does not match definition
C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(8655 : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(87697) : warning 203: symbol is never used: "SendAudioToRange"


The bottom line (87697) doesn't exist.
line:74245 new audioid = SendAudioURLToRange(inputtext,volume,seek,aX,aY,aZ ,range);

Line:86558 new string[86];
format(string, sizeof(string), "You're now in debt; you must repay the debt of $%d. If not, you will be arrested...", GetPlayerCash(j));
SendClientMessageEx(j, COLOR_LIGHTRED, string);
MoneyMessage[j] = 1;


Thanks.
Reply
#2

for
new string[86];
format(string, sizeof(string), "You're now in debt; you must repay the debt of $%d. If not, you will be arrested...", GetPlayerCash(j));
SendClientMessageEx(j, COLOR_LIGHTRED, string);
MoneyMessage[j] = 1;

try this:
new string2[86];
format(string2, sizeof(string2), "You're now in debt; you must repay the debt of $%d. If not, you will be arrested...", GetPlayerCash(j));
SendClientMessageEx(j, COLOR_LIGHTRED, string2);
MoneyMessage[j] = 1;
Reply
#3

C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(87697) : warning 203: symbol is never used: "SendAudioToRange"
^
You defined a variable you're not using.

Код:
C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(8655 : warning 219: local variable "string" shadows a variable at a preceding level
pawn Код:
new str[86];
format(str, sizeof(str), "You're now in debt; you must repay the debt of $%d. If not, you will be arrested...", GetPlayerCash(j));
SendClientMessageEx(j, COLOR_LIGHTRED, str);
Reply
#4

The only thing with sendaudiotorange is "SendAudioToRange(audioid, volume, Float, Float:y, Float:z, Float:range)"
And if i remove it, it crashes my pawno.



What about?
C:\Users\Nathan\Desktop\Nathan\Development\GTA Server\Evation RP - 3x\gamemodes\ERPfireworks.pwn(74245) : warning 202: number of arguments does not match definition
Reply
#5

Items by default: audioid, volume, Float, Float:y, Float:z, Float:range
Items you're typing: inputtext,volume,seek,aX,aY,aZ ,range

You're typing 7 when the number of arguments is 6...
Reply
#6

How do I fix O.o
Reply
#7

Dw, fixed!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)