[SOLVED] - 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: [SOLVED] (
/showthread.php?tid=91156)
[SOLVED] -
zombie13333 - 12.08.2009
EDIT :: SOLVED :: EDIT
Thank you..
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
zombie13333 - 13.08.2009
Anyone know how to fix this problem?
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
Donny_k - 13.08.2009
Don't bump your thread dude just be patient.
Take a look at any command, the first line of any command has your answer.
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
Henry11200 - 13.08.2009
Код:
if ((File_VehicleOwner) == "None") { //My Function }
Change that to:
Код:
if(strcmp(File_VehicleOwner,"None",true) == 0)
https://sampwiki.blast.hk/wiki/Strcmp
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
ruarai - 13.08.2009
Quote:
Originally Posted by Henry11200
|
You have to put a ! behind strcmp or it wont work
Код:
if(!strcmp(File_VehicleOwner,"None",true) == 0)
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
Donny_k - 13.08.2009
Quote:
Originally Posted by яυαяαι
You have to put a ! behind strcmp or it wont work
Код:
if(!strcmp(File_VehicleOwner,"None",true) == 0)
|
Maybe you didn't see the "== 0" at the end ?
Re: [HELP QUICK] Vehicle Problem [UNSOLVED] -
ruarai - 13.08.2009
Quote:
Originally Posted by Donny
Quote:
Originally Posted by яυαяαι
You have to put a ! behind strcmp or it wont work
Код:
if(!strcmp(File_VehicleOwner,"None",true) == 0)
|
Maybe you didn't see the "== 0" at the end ?
|
ah, lol