12.05.2010, 17:53
Quote:
Originally Posted by mateusppr
Quote:
|
pawn Код:
if (strcmp("/COMANDO", cmdtext, true, 10) == 0)
{
// Aqui vocк bota as funзхes que vai executar.
return 1;
}
return 0;
}
pawn Код:
if (strcmp("/kit01", cmdtext, true, 10) == 0)
{
GivePlayerMoney(playerid,-500);// Perde Dinheiro no caso 500
GivePlayerWeapon(playerid,24,100); // Arma
GivePlayerWeapon(playerid,27,100); //arma
GivePlayerWeapon(playerid,28,100); //arma
return 1;
}