Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:vaistai(playerid,params[])
- {
- new id;
- new money;
- if(sscanf(params,"ru",id,money)) return SendClientMessage(playerid,1,"Naudojimas /vaistai V_P suma ");
- if(IsPlayerConnected(id)) return SendClientMessage(playerid,1,"Žaidėjas neprisijunges");
- GetPlayerMoney(playerid,money);
- GetPlayerMoney(id,-money);
- SetPlayerHealth(id,100);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment