04.12.2007, 17:43
Hi... I like to create a rob command! Like /Rob
I think this is how I shall do the code:
But I want it to do so they only can rob in shops, Like: Gunshop, Pizzashop, and many more.
How to do that?
I think this is how I shall do the code:
Код:
if(strcmp(cmdtext, "/Rob", true) == 0)
{
GivePlayerMoney(playerid,1000);
SetPlayerWantedLevel(playerid,6);
SetPlayerColor(playerid,AZUL);
SendClientMessage(playerid, ROJO, "You did a rob!");
return 1;
{
How to do that?

