Script Request Thread #2
#21

someone told there are some anti de-amx scripts -.-'


anyone have it? :S

i searched and the only thing i get is "anti cheats" "anti bla bla" but not anti de-amx :S
Reply
#22

I have an big idea!!

Can't someone make a sort of chatcloud script.
If you say something, your nametag will be changed to it for some seconds (with scroll if it's too long).
Only an idea.. =D
Reply
#23

Quote:
Originally Posted by <<--LOL-->>
hi, I have 2 questions..

so let's start..
1st- is it posible to make some cmd when player press F10, he get's 100health.. Or any other button, some letter, F11, F12 etc..

and 2nd- easyer one. how to make cmd when you type heal without / you get 100hp..

ty
No. It's unpossible to script this with Pawno
Reply
#24

Quote:
Originally Posted by Ryan7
Quote:
Originally Posted by <<--LOL-->>
hi, I have 2 questions..

so let's start..
1st- is it posible to make some cmd when player press F10, he get's 100health.. Or any other button, some letter, F11, F12 etc..

and 2nd- easyer one. how to make cmd when you type heal without / you get 100hp..

ty
No. It's impossible to script this with Pawno
And it is possible. You just can't detect any of the f keys I don't think. Use strcmp under OnPlayerText to see if they type heal. Then heal them.

pawn Код:
//OnPlayerText
if(!strcmp(text,"heal",true))
{
   SetPlayerHealth(playerid,100.0);
   return 0;
}
Reply
#25

Anyone have this:

If you are in a certain area
a big textdraw comes up saying
"Warning, you are in Restricted Territory."
"You will be shot on the premises."

BTW: Anyone have a id for a speed bump? you know in the road ~.~ lol
Reply
#26

http://forum.sa-mp.com/index.php?topic=82857.0
Reply
#27

Yes, thank you. any idea of the speed bump lol? I saw here:
*LifeUrban RP Spanish*
Its around 1:10. I DONT MEAN TO ADVERTISE.
Reply
#28

Could be a roof.
Reply
#29

Quote:
Originally Posted by Fabio11
Hi, I has a little problem:
pawn Код:
if(!strcmp(cmdtext, "/armour", true))
    {
        if(IsPlayerInCube(playerid, 273.7251, 90.7264, 985.9796, 274.1389, 94.2912, 1024.2809))
        {
            SetPlayerArmour(playerid,50);
        }
    }
pawn Код:
(289) : warning 213: tag mismatch
(289) : warning 213: tag mismatch
(289) : warning 213: tag mismatch
(289) : warning 213: tag mismatch
(289) : warning 213: tag mismatch
(289) : warning 213: tag mismatch
No one ?
Reply
#30

what is the line 289?
Reply
#31

I bet it's the IsPlayerInCube, since it's six warnings, and isplayerincube has 6 parameters with floats
Reply
#32

I know its create object, klutty. BTW Thanks for that idea lol.
Reply
#33

Quote:
Originally Posted by lrZ^
I bet it's the IsPlayerInCube, since it's six warnings, and isplayerincube has 6 parameters with floats
Yes it's that line, I there are the 6 Floats
Reply
#34

Show us your IsPlayerInCube function.
Reply
#35

pawn Код:
stock IsPlayerInCube(playerid, xmin, ymin, zmin, xmax, ymax, zmax)
{
  new Float:x, Float:y, Float:z;
  GetPlayerPos(playerid, x, y, z);
  if( x > xmin && y > ymin && z > zmin && x < xmax && y < ymax && z < zmax) return 1;
  return 0;
}
Reply
#36

i need a working /arrest and /ticket command, thanks!
Reply
#37

download a RP GM that have it and get the commands there..

become a little man..
Reply
#38

Quote:
Originally Posted by Fabio11
pawn Код:
stock IsPlayerInCube(playerid, xmin, ymin, zmin, xmax, ymax, zmax)
{
 new Float:x, Float:y, Float:z;
 GetPlayerPos(playerid, x, y, z);
 if( x > xmin && y > ymin && z > zmin && x < xmax && y < ymax && z < zmax) return 1;
 return 0;
}
pawn Код:
stock IsPlayerInCube(playerid, Float:xmin, Float:ymin, Float:zmin, Float:xmax, Float:ymax, Float:zmax)
{
  new Float:x, Float:y, Float:z;
  GetPlayerPos(playerid, x, y, z);
  if( x > xmin && y > ymin && z > zmin && x < xmax && y < ymax && z < zmax) return 1;
  return 0;
}
Reply
#39

No wonder it gave warnings
Reply
#40

Need /buydriving will buy driving license only! cost 500,
Thanks! GM is GodFather.
Im thanking for who makes codes.
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)