*** I can't name topics well!
#1

(3607) : warning 202: number of arguments does not match definition
(3607) : warning 202: number of arguments does not match definition
(3607) : error 017: undefined symbol "seek

CODE: Audio_OnSetPack(i, localhandle, seek);

---------------------------------------------------
(12610) : warning 202: number of arguments does not match definition

CODE: SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);

----------------------------------------------------
(13152) : warning 202: number of arguments does not match definition

CODE: SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);

----------------------------------------------------
(13193) : warning 202: number of arguments does not match definition

CODE: SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);

-----------------------------------------------------
(17140) : error 017: undefined symbol "distance"
(17140) : warning 215: expression has no effect
(17140) : error 001: expected token: ";", but found ")"
(17140) : error 029: invalid expression, assumed zero
(17140) : fatal error 107: too many error messages on one linene

CODE: HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
Reply
#2

UP, please someone help me.
Reply
#3

Can I see the 'SendAudioToRange' function please?

PHP код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStrCOLOR_GREENHouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos 1,.distance 30.0); 
Reply
#4

Well I give you this to look --> http://pastebin.com/HrzBae3B

I was busy 2 hours with it to check, but I couldnt find it really.
Reply
#5

Change
SendAudioToRange(10300, 100, 0, X, Y, Z, 20.0);

to

SendAudioToRange(10300, 100, X, Y, Z, 20.0);

and update audio plugin

https://sampforum.blast.hk/showthread.php?tid=82162
Reply
#6

I tried to compile it, now I get these warns.

(875) : error 001: expected token: "(", but found "native"
(875) : error 001: expected token: ";", but found "-identifier-"
(3492) : error 025: function heading differs from prototype
(3545) : warning 202: number of arguments does not match definition
(3545) : warning 202: number of arguments does not match definition
(3545) : warning 202: number of arguments does not match definition
(3577) : warning 202: number of arguments does not match definition
(3577) : warning 202: number of arguments does not match definition
n(3577) : error 029: invalid expression, assumed zero
(3577) : warning 202: number of arguments does not match definition
(3577) : error 001: expected token: ",", but found ";"
(3607) : warning 202: number of arguments does not match definition
(3607) : warning 202: number of arguments does not match definition
(3607) : error 017: undefined symbol "seek"
(13152) : warning 202: number of arguments does not match definition
(13193) : warning 202: number of arguments does not match definition
(17139) : error 001: expected token: ",", but found ";"
(17140) : error 017: undefined symbol "distance"
(17140) : warning 215: expression has no effect
(17140) : error 001: expected token: ";", but found ")"
(17140) : error 029: invalid expression, assumed zero
(17140) : fatal error 107: too many error messages on one line

But can I PM you my whole gamemode script so you can fix them for me? My brother did script it, but he's on vacation now. :>
Reply
#7

Quote:
Originally Posted by CameronNSRP
Посмотреть сообщение
I tried to compile it, now I get these warns.

(875) : error 001: expected token: "(", but found "native"
(875) : error 001: expected token: ";", but found "-identifier-"
(3492) : error 025: function heading differs from prototype
(3545) : warning 202: number of arguments does not match definition
(3545) : warning 202: number of arguments does not match definition
(3545) : warning 202: number of arguments does not match definition
(3577) : warning 202: number of arguments does not match definition
(3577) : warning 202: number of arguments does not match definition
n(3577) : error 029: invalid expression, assumed zero
(3577) : warning 202: number of arguments does not match definition
(3577) : error 001: expected token: ",", but found ";"
(3607) : warning 202: number of arguments does not match definition
(3607) : warning 202: number of arguments does not match definition
(3607) : error 017: undefined symbol "seek"
(13152) : warning 202: number of arguments does not match definition
(13193) : warning 202: number of arguments does not match definition
(17139) : error 001: expected token: ",", but found ";"
(17140) : error 017: undefined symbol "distance"
(17140) : warning 215: expression has no effect
(17140) : error 001: expected token: ";", but found ")"
(17140) : error 029: invalid expression, assumed zero
(17140) : fatal error 107: too many error messages on one line

But can I PM you my whole gamemode script so you can fix them for me? My brother did script it, but he's on vacation now. :>
It would be better if you can PM it to me as I find it harder as I don't see the lines.
Reply
#8

Can I send it to you in pastebin?
Reply
#9

Or whats the best way to send it to you?
Reply
#10

Pastebin

It's NG-RP.

I don't help people with that script...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)