22.12.2011, 16:39
pss ahora qe lo veo no qeda!
sige dando armas!!
asi lo tengo
sige dando armas!!
asi lo tengo
pawn Код:
if (strcmp("/Rw", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 2035.8361,1879.8873,12.0618))
{
SendClientMessage(playerid, rojo, "[InfO]:No puedes usar este Comando en esta Area");
return 1;
}
new estado = GetPlayerState(playerid);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || estado == PLAYER_STATE_PASSENGER)
{
SendClientMessage(playerid, rojo, "[InfO]:No puedes usar este comando dentro de un Vehiculo!.");
return 1;
}
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 26, 1000);
GivePlayerWeapon(playerid, 28, 1000);
Mensaje(playerid, amarillo, " || ========================================================= || ");
Mensaje(playerid, verde, " |=| Armas Rapidas! |=| ");
Mensaje(playerid, amarillo, " || ========================================================= || ");
return 1;
}