27.12.2009, 17:00
Question 1.
What does this part mean
Question 2.
What does this mean?
Question 3
Can you please explain how the following lines work? I know what they do, i just need a explanation of what the code is telling PAWN.
Question 4
What is the code so i will tell PAWN that if player is in a certain position then something happens?
EX : If player is in a certain X Y Z then his health will be set to 0. (He/she dies)
Also where do i put this code?
Код:
if (strcmp(cmd, "/killingspreehelp", true) == 0 || strcmp(cmd, "/ksh", true) == 0)
Код:
|| strcmp(cmd, "/ksh", true) == 0)
What does this mean?
Код:
if(Spree[killerid] == 5)
Can you please explain how the following lines work? I know what they do, i just need a explanation of what the code is telling PAWN.
Код:
GetPlayerName(killerid, str, sizeof(str) ); format(str, sizeof(str), "Killing Spree [%s] has %d Kills in a row", str, Spree[killerid] );
What is the code so i will tell PAWN that if player is in a certain position then something happens?
EX : If player is in a certain X Y Z then his health will be set to 0. (He/she dies)
Also where do i put this code?