SA-MP Forums Archive
*** I can't name topics well! - 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: *** I can't name topics well! (/showthread.php?tid=388760)



*** I can't name topics well! - CameronNSRP - 30.10.2012

(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);


Re: I need help with this :> - CameronNSRP - 30.10.2012

UP, please someone help me.


Re: I need help with this :> - tyler12 - 30.10.2012

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); 



Re: I need help with this :> - CameronNSRP - 30.10.2012

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.


Re: I need help with this :> - tyler12 - 30.10.2012

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


Re: I need help with this :> - CameronNSRP - 30.10.2012

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. :>


Re: I need help with this :> - tyler12 - 30.10.2012

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.


Re: I need help with this :> - CameronNSRP - 30.10.2012

Can I send it to you in pastebin?


Re: I need help with this :> - CameronNSRP - 30.10.2012

Or whats the best way to send it to you?


Re: I need help with this :> - tyler12 - 30.10.2012

Pastebin

It's NG-RP.

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