(Really easy to answer)
#1

Okay does
Код:
&&
mean do a function and do this?

EXAMPLE :

pawn Код:
if (strcmp("/register", cmdtext, true) == 0)
    {
       RegisterPlayer(playerid) && SetJob(playerid, 9);
        return 1;
    }
Does the && make the player register AND set there job to CITIZEN (9 is citizen)
Or does || make it do both?
Reply


Messages In This Thread
(Really easy to answer) - by coole210 - 27.06.2009, 14:58
Re: (Really easy to answer) - by illay - 27.06.2009, 14:59
Re: (Really easy to answer) - by Grim_ - 27.06.2009, 15:01
Re: (Really easy to answer) - by coole210 - 27.06.2009, 16:15

Forum Jump:


Users browsing this thread: 1 Guest(s)