SA-MP Forums Archive
Dunno - 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: Dunno (/showthread.php?tid=69979)



Dunno - russiany - 21.03.2009

Can somebady tell me what's mean this " ? "

I read the pawn-lang , wiki.sa-mp.com , and i didn't found it

Ex:

pawn Код:
SendRconCommand( ServerNameChange ? ("mapname Rusia") : ("mapname Russia") );



Re: Dunno - Basss - 22.03.2009

" " in that you must put the name or string or whatever^^ its like
SendClientMessage(playerid,COLOR,"PUTYOURTEXTINHEREPLS");

cheerz


Re: Dunno - Weirdosport - 22.03.2009

Quote:
Originally Posted by PawNFoX
" " in that you must put the name or string or whatever^^ its like
SendClientMessage(playerid,COLOR,"PUTYOURTEXTINHEREPLS");

cheerz
He's not talking about inverted commars, he's talking about the triadic operator.

The : and ? are a posh way of saying if something is true, do this, if it's false do this. Let me direct you somewhere useful...

Triadic Operator