Help please
#1

is there is a function to change weapon things like the anim when he use it and when he kill a player with it he get money and how to make like when the player kill a player he get money
Reply
#2

bumb
Reply
#3

I have no idea what you mean for the anims because you're questions are poorly worded.
just add GivePlayerMoney(killerid,amount); in OnPlayerDeath
Reply
#4

i mean when i attack with that gun it play an anim
Reply
#5

You want to change the way players can shoot with an anim? If so, that's impposbile.
Reply
#6

i mean like i attack with a baseballbat it plays an anim like the katana attack anim and i know a server katana can stop the bullet is that posbile ?
Reply
#7

Nope dude
Reply
#8

is there any function to control weapons or can change anything with weapons ?
Reply
#9

In which way you want to control them?
And how exactly a katana can stop a bullet? :S
Reply
#10

i know if player kill player setplayer score +1 or change but i search now for the moneys

public OnPlayerDeath(playerid, killerid, reason)
{
GetPlayerMoneys(killerid);
SendDeathMessage(killerid, playerid, reason);
if(killerid != INVALID_PLAYER_ID) SetPlayerMoneys(killerid, GetPlayerMoneys(killerid) + 1000);
return 1;
}

If have errors change the moneys with Cash Example "SetPlayerCash(killerid, GetPlayerCash(killerid) +1000);"


Post errors! if you have!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)