25.12.2011, 14:58
pawn Код:
stock CriarVeнculo(playerid, mod, Float:x, Float:y, Float:z, Float:ang, c1, c2, res)
{
static Float: pVida[MAX_PLAYERS];
GetPlayerHealth(playerid, pVida[playerid]);
if(pVida[playerid] <= 30)
{
static s[47];
format(s, 47, "Vocк nгo pode criar veнculos com %f de vida!", pVida[playerid]);
SendClientMessage(playerid, -1, s);
return 1;
}
CreateVehicle(mod, x, y, z, ang, c1, c2, res);
return 1;
}
Dai й sу vocк trocar CreateVehicle | AddStaticVehicle por CriarVeiculo.
