13.06.2011, 19:20
pawn Код:
if (strcmp("/sultan", cmdtext, true, 10) == 0)
{
if(IsPlayerLuxAdminLevel(playerid, 0))
{
if(IsPlayerInAnyVehicle(playerid))
return SendClientMessage(playerid, 0xFFEEDD, "ERROR: You already have a Vehicle");
new AdminSultan;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
AdminSultan = CreateVehicle(560,X,Y,Z,Angle,1,-1,-1);
PutPlayerInVehicle(playerid,AdminSultan,0);
AddVehicleComponent(AdminSultan, 1029); AddVehicleComponent(AdminSultan, 1030); AddVehicleComponent(AdminSultan, 1141); AddVehicleComponent(AdminSultan, 1080);
AddVehicleComponent(AdminSultan, 1031); AddVehicleComponent(AdminSultan, 1033); AddVehicleComponent(AdminSultan, 1138);
AddVehicleComponent(AdminSultan, 1169); AddVehicleComponent(AdminSultan, 1086); AddVehicleComponent(AdminSultan, 1087); AddVehicleComponent(AdminSultan, 1010);
ChangeVehiclePaintjob(AdminSultan,2);
SetVehicleVirtualWorld(AdminSultan, GetPlayerVirtualWorld(playerid));
LinkVehicleToInterior(AdminSultan, GetPlayerInterior(playerid));
}
return 1;
}
This is a stupid idea, but I want a dark blue text above the car all the time that says something
Thank you