/robplayer help
#2

copy this and use it
Quote:

#include <a_samp>
if(strcmp(cmd, "/robplayer", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " Nu te-ai logat!");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "UTILIZEAZA: /robplayer [IDJucator/PARTEdinNUME]");
return 1;
}
new cash = GetPlayerMoney(playerid);
new Floatteal = cash * 0.10;
format(string, sizeof(string), "* %s a i-a furat %s RON lui %i.", sendername,floatround(steal), playerid);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GivePlayerMoney(playerid, floatround(steal));
return 1;
if(IsACop(i))
{
new anuntpd[255];
format(anuntpd, sizeof(anuntpd), "DISPECER: Toate unitatile, %s este suspectat de spargerea unui Bancomat",sendername);
SendClientMessage(i, TEAM_BLUE_COLOR, anuntpd);
}
}
}

Reply


Messages In This Thread
/robplayer help - by calin1996 - 14.05.2012, 15:38
Re: /robplayer help - by mgd - 14.05.2012, 15:46
Re: /robplayer help - by calin1996 - 14.05.2012, 16:09
Re: /robplayer help - by ViniBorn - 14.05.2012, 16:35
Re: /robplayer help REp+ - by calin1996 - 15.05.2012, 12:30
Re: /robplayer help - by calin1996 - 15.05.2012, 14:24
Re: /robplayer help - by calin1996 - 15.05.2012, 16:56
Re: /robplayer help - by WooTFTW - 15.05.2012, 17:52
Re: /robplayer help - by calin1996 - 16.05.2012, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)