How could i.... -
Re: How could i.... -
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;
}
Re: How could i.... -