30.04.2010, 22:00
Hey guys.
Well, i really love coding with pawno and see that everythings running, what i created, but... i have 1 question i cannot answer by myself or any friends. dont laugh, it seems to be easy, but we will see
i want, that you get via if a weapon, which is defined by me.
example:
I used this on public OnPlayerUpdate(playerid). Now i what to give a player the weapon m4 if a score of a player is = 1. but how?
i would be very thankful for any help you could offer me. of course you can ask, if there would be any questions to me.
greetz
Well, i really love coding with pawno and see that everythings running, what i created, but... i have 1 question i cannot answer by myself or any friends. dont laugh, it seems to be easy, but we will see
i want, that you get via if a weapon, which is defined by me.
example:
Код:
if(GetPlayerScore(playerid) == '1'){ GivePlayerWeapon(playerid,WEAPON_M4,500); return 0; }
i would be very thankful for any help you could offer me. of course you can ask, if there would be any questions to me.
greetz