How to fix this cmd?
#7

This:
Quote:
Originally Posted by 10MIN
Посмотреть сообщение
I think this:
PHP код:
if(!IsACopCar(tmpcar) && !IsAnAmbulance(tmpcar) && !IsANGCar(tmpcar)) 
Should be:
PHP код:
if(!IsACopCar(tmpcar) || !IsAnAmbulance(tmpcar) || !IsANGCar(tmpcar)) 
Because: First means: "If tmpcar is a not cop car and not an ambulance and not a ng car..."
Second: "If tmpcar is not a cop car or an ambulance or a ng car..."
PS: Use YCMD / PawnCMD because they are faster at commands. Also use sscanf plugin by ****** because it works veryy very good with them.
Reply


Messages In This Thread
How to fix this cmd? - by SniperZLyfe1 - 07.09.2017, 17:07
Re: How to fix this cmd? - by 10MIN - 07.09.2017, 17:23
Re: How to fix this cmd? - by n00blek - 07.09.2017, 17:24
Re: How to fix this cmd? - by SniperZLyfe1 - 07.09.2017, 17:29
Re: How to fix this cmd? - by 10MIN - 07.09.2017, 17:31
Re: How to fix this cmd? - by SniperZLyfe1 - 07.09.2017, 17:42
Re: How to fix this cmd? - by 10MIN - 07.09.2017, 17:45
Re: How to fix this cmd? - by Primes007 - 07.09.2017, 20:13

Forum Jump:


Users browsing this thread: 3 Guest(s)