03.08.2012, 15:56
Yep:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/dropsoap", cmdtext, true, 10) == 0)
{
if(IsPlayerInPrison(playerid) && IsPlayerInShower(playerid))
{
DropSoap(playerid);
for(new i = 0; i < MAX_PRISONERS; i++)
{
SetPlayerRapeMode(i, RAPE_MODE_SHOWER);
}
}
return 1;
}
return 0;
}