How could i....
#1

I wanna make some fund commands like /rape id
And say something like Cold has grabbed (name) and violently raped him!
also
Cold has raped (NAme) to death!

Stuff like that!

How should i make that?

Thanks!
Reply
#2

Not what you wanted but....

pawn Код:
dcmd_rape(playerid,params[]) {
    if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /rape [playerid]");
    new player1, string[128], playername[MAX_PLAYER_NAME], Float:Health;
    player1 = strval(params);

    if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
        GetPlayerName(player1, playername, sizeof(playername));
        format(string,sizeof(string),"You have raped %s",playername);
        SendClientMessage(playerid,red,string);
        GetPlayerHealth(player1,Health); SetPlayerHealth(player1,Health-15);
    }
    return 1;
}
And OnPlayerCommandText

dcmd(rape,4,cmdtext);

Hope Helps
Reply
#3

alright mate tyvm!
Ill edit it as i want DW
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)