24.09.2011, 02:21
Quote:
pawn Код:
if(strcmp("/motorserra", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, 0xFFFFFFAA, "Vocк nгo tem essa grana.");
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Comprou um Motorserra por R$20000 {FF0000}( /motorserra )", pname);
SendClientMessageToAll(0xFFFFFFAA, string);
GiveMoneyEx(playerid,-20000);
GivePlayerWeapon(playerid, 9, 1);
SendClientMessage(playerid,0x33AA33AA,"Up com seu MotorSerra!:P");
return 1;
}
AFF PQP! Fui clicar em edit, cliquei em Quote. Malz!