SA-MP Forums Archive
PLEASE PLEASE PLEASE HELP ME!!!! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PLEASE PLEASE PLEASE HELP ME!!!! (/showthread.php?tid=185515)



PLEASE PLEASE PLEASE HELP ME!!!! - Jimmeh! - 24.10.2010

Код:
C:\Users\Rad & Sim\Desktop\US-RP\gamemodes\usrp.pwn(11911) : error 037: invalid string (possibly non-terminated string)
C:\Users\Rad & Sim\Desktop\US-RP\gamemodes\usrp.pwn(11911) : error 017: undefined symbol "Cancel"
C:\Users\Rad & Sim\Desktop\US-RP\gamemodes\usrp.pwn(11911) : error 029: invalid expression, assumed zero
C:\Users\Rad & Sim\Desktop\US-RP\gamemodes\usrp.pwn(11911) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Alright.. Below is what line 11911 looks lke..

Код:
			ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"Buycar","Pony: $25000\nSabre: $30000\nCamper: $20000\nGreenwood: $30000\nClover:	$30000\nSavanna: $30000\nTornado: $30000\nGlendale: $25000\nHuntley: $40000\nOceanic: $30000\nSadler: $30000\nFreeway: $60000\nZR350: $60000\nSuperGT: $200000\nUranus: $200000\nStretch: $100000""Faggio: $60000\nComet: $200000\nRemington: $100000\nPolice: $100000\nTaxi: $100000\nAmbulance: $100000\nFiretruck: $200000\nBanshee: $2000000\nSultan: $1500000" "Buy","Cancel);
Please give me a new 11911 line to replace with my current one.. This is from an RP server script.. The old SARP one..


Re: PLEASE PLEASE PLEASE HELP ME!!!! - Mauzen - 24.10.2010

Take a closer look at the line, cant be that hard.
invalid string (possibly non-terminated string): you forgot, or added a " somewhere

If you still do not find it:
[spoiler] (Mark the text to view it )
remove the two "" between stretch and faggio
[/spoiler]


Re: PLEASE PLEASE PLEASE HELP ME!!!! - Jimmeh! - 24.10.2010

Hmm.. I fixed it thanks.. I can run the server.. but it won't connect to it.. I am port-forwarded, etc.. Cannot run it on Localhost either.. >.<


Re: PLEASE PLEASE PLEASE HELP ME!!!! - MBX97 - 25.10.2010

sorry guyz but this dialog is not good , i mean u didn't care when u was doin it :
Quote:

ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"Buy car","Pony: $25000\nSabre: $30000\nCamper: $20000\nGreenwood: $30000\nClover: $30000\nSavanna: $30000\nTornado: $30000\nGlendale: $25000\nHuntley: $40000\nOceanic: $30000\nSadler: $30000\nFreeway: $60000\nZR350: $60000\nSuperGT: $200000\nUranus: $200000\nStretch: $100000""Faggio: $60000\nComet: $200000\nRemington: $100000\nPolice: $100000\nTaxi: $100000\nAmbulance: $100000\nFiretruck: $200000\nBanshee: $2000000\nSultan: $1500000" "Buy","Cancel);

so sorry but it must be like this :
Quote:

ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"Buy car","Pony: $25000\nSabre: $30000\nCamper: $20000\nGreenwood: $30000\nClover: $30000\nSavanna: $30000\nTornado: $30000\nGlendale: $25000\nHuntley: $40000\nOceanic: $30000\nSadler: $30000\nFreeway: $60000\nZR350: $60000\nSuperGT: $200000\nUranus: $200000\nStretch: $100000""Faggio: $60000\nComet: $200000\nRemington: $100000\nPolice: $100000\nTaxi: $100000\nAmbulance: $100000\nFiretruck: $200000\nBanshee: $2000000\nSultan: $1500000","Buy","Cancel");




Re: PLEASE PLEASE PLEASE HELP ME!!!! - Destiney - 16.12.2010

thats good ole Smo and Zav's scripting for you... Copy & Pasting stuff to make it work, even tho it bugs the whole server...


Re: PLEASE PLEASE PLEASE HELP ME!!!! - Jimmeh! - 25.03.2011

Well Destiney, I was working on the US-RP script to script things on in hopes of being a scripter for US-RP.