Plz Help Me !@#$@%$&
#1

Ok Listen,

I Have A Stunts Mode ,
I Need a :-
/Fix - Fixes Fire + CarBody + Tires
/NoS - Gives You Unlimited Nitro + a CTRL Key To Stop It !
/Flip
/AFK + /UNAFK
/Afob - Anti Fall Of Bike /Afof - Remove it
/Plant - Plants A Bomb Explodes After 10 Second ! (One Time From ConnecT)


Question -

How To Do A Random Teleports , I Mean if we Do (/DM) Teleports You To Diffrent Places?
How To Put Vehicles In Interior , And Why When I Teleports With Vehicle To Interior It Makes it Unvisible ?


Thanks
You Dont Need To Help Me all of this put help me in a little
Reply
#2

two things: script request thread & search button
Reply
#3

/Fix - Fixes Fire + CarBody + Tires
pawn Код:
//not possible to fix car body or tires
if(!strcmp(cmdtext, "/fix" true))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0)
return 1;
}
/NoS - Gives You Unlimited Nitro + a CTRL Key To Stop It !
pawn Код:
OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_SUBMISSION) == (KEY_SUBMISSION) && (IsPlayerInAnyVehicle(playerid)))//not sure if that is how you do it
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
return 1;
}
return 0;
}
/Flip
not possible
/AFK + /UNAFK
would take alot of time
/Afob - Anti Fall Of Bike /Afof - Remove it
not possible
/Plant - Plants A Bomb Explodes After 10 Second ! (One Time From ConnecT)
involves SetTimer and CreateExplosion, i will let you do it


Question -

How To Do A Random Teleports , I Mean if we Do (/DM) Teleports You To Diffrent Places?
make an array like
RandomPortsx[10]
RandomPortsy[10]
RandomPortsz[10]
than fill those with the places you want to teleport to, and
pawn Код:
var = random(10)
SetPlayerPos(playerid, RandomPortsx[var], RandomPorts[var], RandomPorts[var]);
How To Put Vehicles In Interior , And Why When I Teleports With Vehicle To Interior It Makes it Unvisible ?

LinkVehicleToInterior(vehid, intid);


hop i could help
Reply
#4

/flip and /afk are very very easy you can find them with the search button.

heres better way for random spawn than that confusing array....

Код:
 if(IsPlayerInAnyVehicle(playerid)) {
  SendClientMessage(playerid, COLOR_ERROR, "You cannot teleport with a car");//optional
  return 1;
  }
	new dmrand = random(100);
 	if(dmrand >=0 && dmrand <=50) {  // 50/50 chance
 	SetPlayerPos(playerid, yourcoords here);
    SetPlayerFacingAngle(playerid, angle here);
    SendClientMessageToAll(playerid, COLOR_RED, "A player has used /dm");
	return 1;
 	}
  if(dmrand >=51 && dmrand <=100)
	{
	SetPlayerPos(playerid, youotherdmrcoords here);
    SetPlayerFacingAngle(playerid, otherangle here);
    SendClientMessageToAll(playerid, COLOR_RED, "A player has used /dm");
	return 1;
Reply
#5

Quote:
Originally Posted by Daren_Jacobson
/Fix - Fixes Fire + CarBody + Tires
pawn Код:
//not possible to fix car body or tires
if(!strcmp(cmdtext, "/fix" true))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0)
return 1;
}
/NoS - Gives You Unlimited Nitro + a CTRL Key To Stop It !
pawn Код:
OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_SUBMISSION) == (KEY_SUBMISSION) && (IsPlayerInAnyVehicle(playerid)))//not sure if that is how you do it
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
return 1;
}
return 0;
}
/Flip
not possible
/AFK + /UNAFK
would take alot of time
/Afob - Anti Fall Of Bike /Afof - Remove it
not possible
/Plant - Plants A Bomb Explodes After 10 Second ! (One Time From ConnecT)
involves SetTimer and CreateExplosion, i will let you do it


Question -

How To Do A Random Teleports , I Mean if we Do (/DM) Teleports You To Diffrent Places?
make an array like
RandomPortsx[10]
RandomPortsy[10]
RandomPortsz[10]
than fill those with the places you want to teleport to, and
pawn Код:
var = random(10)
SetPlayerPos(playerid, RandomPortsx[var], RandomPorts[var], RandomPorts[var]);
How To Put Vehicles In Interior , And Why When I Teleports With Vehicle To Interior It Makes it Unvisible ?

LinkVehicleToInterior(vehid, intid);


hop i could help
Код:
//not possible to fix car body or tires, It is if you teleport car to Pay'N'Spray & back with storing the old position into variable
if(!strcmp(cmdtext, "/fix" true))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0)
return 1;
}
/Flip
not possible, yes it's very possible

https://sampwiki.blast.hk/wiki/SetVehicleZAngle

/AFK + /UNAFK
would take alot of time, no it's simple script depending how you want it

/Afob - Anti Fall Of Bike /Afof - Remove it
not possible, very possible too...

g2g to school so i don't have time to script them all for you now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)