28.11.2009, 17:06
i learn a bit about if/elseif/else
in wiki it says allways a , b , c bla bla etc
ok for example if i want to make a code when a player disconnect ...for what help me those codes from wiki at all?
for ex this:
ok i understand that a is really 5 so?
in my script what to do for example when a player disconnect to see reason ,etc?
i will make this?
i don't understand about what to make instead of those examples from wiki with a, b new a = 5; , etc.
plz help here somewone i will apreciate
in wiki it says allways a , b , c bla bla etc
ok for example if i want to make a code when a player disconnect ...for what help me those codes from wiki at all?
for ex this:
pawn Код:
new
a = 5;
if(a == 5)
printf(" a is really 5)
in my script what to do for example when a player disconnect to see reason ,etc?
i will make this?
pawn Код:
playerid = 5
if(playerid == 5)
printf(playerid is now 5)
plz help here somewone i will apreciate