Search Results
Quote:
Originally Posted by Huemerson
You need to define the variables that have the error [new], and then see if there are other errors ...
That is most definitely not the case. Undefi...
351
Quote:
Originally Posted by jasperschellekens
Returning 0 will result in not receiving any damage. Since you only have return 0 under specific conditions it will only prevent damage there....
357
When vehicle explodes near players take no damage from explosion or when they catch on fire with this code:
Code:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &...
33,314
Code:
if((weapon == WEAPON_CARPARK || weapon == WEAPON_HELIBLADES || weapon == WEAPON_VEHICLE_MINIGUN) && GangTeam[playerid] == 0)
I'm asking about FLAMETHROWER and EXPLOSION which aren't WEA...
357
When vehicle explodes near players take no damage from explosion or when they catch on fire with this code:
Code:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &...
357
Thanks for the replies guys, it helped!
135
I ran into this issue just now and instead of making the script differently I'd first like to know why exactly doesn't this work?
Example code:
Code:
new col_str[24], pgpg[10];
format(pgpg, 10, "FF0...
135
You closed the bracket before you wrote
Code:
ShowPlayerDialog(playerid, DIALOG_TOG, DIALOG_STYLE_TABLIST_HEADERS, "Tog", szDialog2, "Selectare", "Anulare");
change your code to this:
Code:
CMD:tog(...
140