[Ajuda] TAG [VIP] E [ADM]
#8

Quote:
Originally Posted by DjonathaTM
Посмотреть сообщение
Cara, a sua variavel
'-'
Tipo
Pinfo[playerid][LevelADMIN]
Vocк nгo sabe nada sobre variбveis?
eh issto ??
if(PlayerInfo[playerid][NoEvento] == 0)
{
new Float, Float:y, Float:z, Float:rot, vID, pdName[24];
new engine,lights,alarm,doors,bonnet,boot,objective;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, rot);
vID = Vehicle_Create(vehiclemodel, x, y, z, rot, color1, color2, 600);
PutPlayerInVehicle(playerid, vID, 0);
// Turn on the engine and lights
GetVehicleParamsEx(vID, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vID, 1, 1, alarm, doors, bonnet, boot, objective);
// Store the player's current location and interior-id, otherwise anti-airbreak hack code could kick you
GetPlayerPos(playerid, APlayerData[playerid][PreviousX], APlayerData[playerid][PreviousY], APlayerData[playerid][PreviousZ]);
APlayerData[playerid][PreviousInt] = GetPlayerInterior(playerid);
// Also, after spawning a vehicle, reset FirstCar (so next time, the list starts from the start)
APlayerData[playerid][DialogCarFirstCar] = 0;
GetPlayerName(playerid, pdName, 24);
if(APlayerData[playerid][PlayerLevel] == 1)
{
format(Alla, 128, "{FFD700}[VIP] O jogador {FFFFFF}%s {FFD700}criou um(a) {FFFFFF}%s{FFD700}.", pdName, Vehicles[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
SendClientMessageToAll(-1, Alla);
}
if(APlayerData[playerid][PlayerLevel] >= 2)
{
format(Alla, 128, "{a9c4e4}O Administrador {FFFFFF}%s {a9c4e4}criou um(a) {FFFFFF}%s{a9c4e4}.", pdName, Vehicles[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
SendClientMessageToAll(-1, Alla);
}
}
return 1;
}
Reply


Messages In This Thread
TAG [VIP] E [ADM] - by lCebolinha - 30.10.2015, 01:33
Re: TAG [VIP] E [ADM] - by DjonathaTM - 30.10.2015, 01:34
Re: TAG [VIP] E [ADM] - by FStralioti - 30.10.2015, 01:37
Re: TAG [VIP] E [ADM] - by lCebolinha - 30.10.2015, 01:37
Re: TAG [VIP] E [ADM] - by FStralioti - 30.10.2015, 01:41
Re: TAG [VIP] E [ADM] - by DjonathaTM - 30.10.2015, 01:42
Re: TAG [VIP] E [ADM] - by lCebolinha - 30.10.2015, 01:44
Re: TAG [VIP] E [ADM] - by lCebolinha - 30.10.2015, 01:46
Re: TAG [VIP] E [ADM] - by Galhardo - 30.10.2015, 01:57
AW: TAG [VIP] E [ADM] - by CZ - 30.10.2015, 02:09

Forum Jump:


Users browsing this thread: 1 Guest(s)