help with scripting
#1

well i have a taliban mission in my gamemode but when i mission and everything works fine untill i go to the place place car in the red spot and press 2 and when i step out and gonna blow my car nothing happens but when i go inside again and press 2 boom what can be wrong? mening is that u gonna be outside and recive money
Reply
#2

maybe give us some code of your script
we cant just haleluja and get your codes
Reply
#3

//Vanter Bomb
if(PlayerInfo[playerid][pAdmin] == 100)
{
if(VanterBombT[playerid] == 0)
{
if(!IsPlayerInAnyVehicle(playerid)) return 1;
GameTextForPlayer(playerid,"~w~BOMB~r~~n~Triggered !", 4000, 3);
VanterBomb[playerid] =GetPlayerVehicleID(playerid);
VanterBombT[playerid] =1;
SendClientMessage(playerid, COLOR_RED, "[TALIBAN] Bomb triggered, press 2 again to detonate the bomb.");
return 1;
}
if(VanterBombT[playerid] == 1)
{
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(VanterBomb[playerid], vehx, vehy, vehz);
GameTextForPlayer(playerid,"~w~BOMB~r~~n~detonated !", 4000, 3);
CreateExplosion(vehx, vehy, vehz, 7, 10);
CreateExplosion(vehx+3, vehy+3, vehz+3, 7, 10);
CreateExplosion(vehx+5, vehy+5, vehz+5, 7, 10);
CreateExplosion(vehx+7, vehy+7, vehz+7, 7, 10);

VanterBomb[playerid] =-1;
VanterBombT[playerid] =-0;
return 1;
}
}
//Taliban
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 573 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 554)
{
if(TalibanBombT[playerid] > 1) return SendClientMessage(playerid, COLOR_RED,"[ERROR] Bomb is already triggered and about to explode.");
GameTextForPlayer(playerid,"~w~BOMB~r~~n~Triggered !", 4000, 3);
TalibanBomb[playerid] =GetPlayerVehicleID(playerid);
TalibanBombT[playerid] =15;
SendClientMessage(playerid, COLOR_RED, "[TALIBAN] Bomb triggered, you have 15 seconds to flee the scene.");
Reply
#4

here is some want more just tell me dont really know what to give but just tell me really need this fixed so
Reply
#5

give me other part of script
when you active it and when you leave which doesnt work when you press 2
Reply
#6

add me on skype linus.45 if u want would make it esier and faster to write but i where can i find it? what to write ctrl+f and what?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)