30.07.2009, 18:35
Код:
if(!strcmp(cmdtext, "/transfercash", true))
{
if(PlayerToPoint(5, playerid, 364.5175,173.8485,1008.3893))
{
SendClientMessageToAll(ADMIN_RED, "[ ! ] BIP ! BIP ! BIP ! BIP ! Casino alarm launched ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] Shit ! alarm is launched, hurry up man ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] .... Money transfer in progress .... ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] .... Money transfer in progress .... ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] .... Money transfer in progress .... ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] .... Money transfer in progress .... ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] Congratulations ! You got your money ");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] PCash info : +5000 PCash ");
GivePlayerPCash(playerid, 5000);
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] Now get the hell out of here, the job is done");
SendClientMessage(playerid, COLOR_YELLOW, "[ ! ] Perhaps cops will chase you, try to loose them");
}
else
{
SendClientMessage(playerid, COLOR_RED, "[ ! ] You are not at the casino safe ");
}
return 1;
}
Thanks for reading & helping ^^

