02.04.2013, 19:19
So it even doesnt show the message ... I dont know whay!
So here is my cmd:
So here is my cmd:
pawn Код:
CMD:robstore(playerid, params[])
{
if(PlayerToPoint(3, playerid, -28.4819,-89.3805,1003.5469))
{
if(StoreRobed[playerid] == 0)
{
SendClientMessageToAll(Red,"The 24/7 is being robbed, go check it out!");
SendClientMessage(playerid, Yellow,"You have started to rob the store, Cops have been noted");
SendClientMessage(playerid, Red,"Stay in the store for 3 mins so you can claim the cash!");
Robber[playerid] = 1;
StoreRobed[playerid] =1;
SetTimer("RobStore1",5,0);
return 1;
}
else if(StoreRobed[playerid] == 1)
{
SendClientMessage(playerid, Red,"You already robed the store you need to wait!!");
}
}
return 1;
}