hey.. ich habe 4 tag mismatch warnungen..
Code
C:\Users\Nutzer\Desktop\My-Reallife\gamemodes\NYR.pwn(54343) : warning 213: tag mismatch
C:\Users\Nutzer\Desktop\My-Reallife\gamemodes\NYR.pwn(54365) : warning 213: tag mismatch
C:\Users\Nutzer\Desktop\My-Reallife\gamemodes\NYR.pwn(54389) : warning 213: tag mismatch
Zeile 54343 :
Zeile 54365 :
Code
SupMobilText[playerid] = CreateDynamic3DTextLabel(text,0x490830FF,0.0,0.0,0.0,20.0,INVALID_PLAYER_ID,SupMobil[playerid]);
Zeile 54389 :
Code
SupMobilText[playerid] = CreateDynamic3DTextLabel(text,0x490830FF,0.0,0.0,0.0,20.0,INVALID_PLAYER_ID,SupMobil[playerid]);
DES DIALOG :
Code
if(dialogid == DIALOG_SUPMOBIL)
{
if(response)
{
if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pSupporter] >= 1)
{
switch(listitem)
{
case 0:
{
new Float:x, Float:y, Float:z;
new Float:angle,text[128];
GetPlayerFacingAngle(playerid, angle);
GetPlayerPos(playerid, x,y,z);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
SupMobil[playerid] = CreateVehicle(583, x,y,z+2,angle,167,167,99999);
PutPlayerInVehicle(playerid, SupMobil[playerid], 0);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid, SupMobil[playerid], 0);
SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir ein Classic-Supportermobil gespawnt!");
HatSupmobil[playerid] = 1;
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(text, sizeof(text), "Supmobil von %s", name);
SupMobilText[playerid] = CreateDynamic3DTextLabel(text,0x490830FF,0.0,0.0,0.0,20.0,INVALID_PLAYER_ID,SupMobil[playerid]);
SupMobilLicht[playerid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(SupMobilLicht[playerid], SupMobil[playerid], 0.4, -0.33, 1.6 ,0 ,0 ,0);
AddVehicleComponent(SupMobil[playerid], 1010); // Nitro
}
case 1:
{
new Float:x, Float:y, Float:z;
new Float:angle,text[128];
GetPlayerFacingAngle(playerid, angle);
GetPlayerPos(playerid, x,y,z);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
SupMobil[playerid] = CreateVehicle(480, x,y,z+2,angle,167,167,99999);
PutPlayerInVehicle(playerid, SupMobil[playerid], 0);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir ein Comet-Supportermobil gespawnt!");
HatSupmobil[playerid] = 1;
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(text, sizeof(text), "Supmobil von %s", name);
SupMobilText[playerid] = CreateDynamic3DTextLabel(text,0x490830FF,0.0,0.0,0.0,20.0,INVALID_PLAYER_ID,SupMobil[playerid]);
SupMobilLicht[playerid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(SupMobilLicht[playerid], SupMobil[playerid], 0.6, -1, 0.69, 0 ,0, 0);
SupMobilLicht2[playerid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(SupMobilLicht2[playerid], SupMobil[playerid], -0.6, -1, 0.69 ,0, 0, 0);
AddVehicleComponent(SupMobil[playerid], 1010); // Nitro
}
case 2:
{
new Float:x, Float:y, Float:z;
new Float:angle,text[128];
GetPlayerFacingAngle(playerid, angle);
GetPlayerPos(playerid, x,y,z);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
SupMobil[playerid] = CreateVehicle(471, x,y,z+2,angle,167,167,99999);
PutPlayerInVehicle(playerid, SupMobil[playerid], 0);
LinkVehicleToInterior(SupMobil[playerid], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(SupMobil[playerid], GetPlayerVirtualWorld(playerid));
SendClientMessage(playerid, COLOR_YELLOW, "Du hast dir ein Quad-Supportermobil gespawnt!");
HatSupmobil[playerid] = 1;
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(text, sizeof(text), "Supmobil von %s", name);
SupMobilText[playerid] = CreateDynamic3DTextLabel(text,0x490830FF,0.0,0.0,0.0,20.0,INVALID_PLAYER_ID,SupMobil[playerid]);
SupMobilLicht[playerid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(SupMobilLicht[playerid], SupMobil[playerid], 0 ,0.74 ,0.37, 0, 0 ,0);
AddVehicleComponent(SupMobil[playerid], 1010); // Nitro
}
}
}
}
else
{
return 1;
}
}
Alles anzeigen