08.12.2012, 10:18
pawn Код:
if(strcmp(cmd, "/robcityhall", true) == 0)
{
new success = random(2);
if(CityHallRobbedRecently = 1) //26722
{
SendClientMessage(playerid, COLOR_GREY, "* This location was robbede recently, try again later");
return 1;
}
if(PlayerInfo[playerid][pRobTime] >= 1)
{
SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait.");
return 1;
}