Few Questions
#1

Ok heres my list of what I need to know how to make.

I need it so when a player kills a player the killer get rewarded 1,500$
I need to know how to "save a player vehicle" so if he spawns it from my dialog, it'll charge him xxx,xxx$, I know how to make it charge, but How do I make it save to his file or w/e with the vehicle mods? - NVM About the vehicle thing, I'll learn that myself, But what about the player killer?

UPDATED: I need help with adding the streamer, for some reason it doesnt work, Whenever I use a map some one mapped me "createDynamicObject" i'v installed the include and all, but it always buggs the server
Reply
#2

Place this code in OnPlayerDeath:

pawn Code:
if(killerid != INVALID_PLAYER_ID)
    GivePlayerMoney(killerid, 1500);
Reply
#3

Quote:
Originally Posted by Azzeto
View Post
Ok heres my list of what I need to know how to make.

I need it so when a player kills a player the killer get rewarded 1,500$
I need to know how to "save a player vehicle" so if he spawns it from my dialog, it'll charge him xxx,xxx$, I know how to make it charge, but How do I make it save to his file or w/e with the vehicle mods? - NVM About the vehicle thing, I'll learn that myself, But what about the player killer?
For the first one.

under OnPlayerDeath add

GivePlayerCash(killerid,1500);
Reply
#4

Thank you both, Now I have one more question that just popped up,
I'm using Y_INI for my registration/login system, what would be the format to make admin commands? Lol.
Reply
#5

Do you have TeamViewer? i can help you there. PM me the info
Reply
#6

Never mind, I'v figured it out, thanks though!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)