Re: Script Request Thread #2 -
Baff - 24.03.2009
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
Re: Script Request Thread #2 -
Yeatric - 24.03.2009
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
Re: Script Request Thread #2 -
Ryhanna - 24.03.2009
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
Re: Script Request Thread #2 -
Backwardsman97 - 24.03.2009
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;
}
Re: Script Request Thread #2 -
FrazZ - 24.03.2009
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
Re: Script Request Thread #2 -
Mikep - 24.03.2009
http://forum.sa-mp.com/index.php?topic=82857.0
Re: Script Request Thread #2 -
FrazZ - 25.03.2009
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.
Re: Script Request Thread #2 -
Mikep - 25.03.2009
Could be a roof.
Re: Script Request Thread #2 -
Fabio11 - 25.03.2009
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 ?
Re: Script Request Thread #2 -
Shellegg - 25.03.2009
what is the line 289?
Re: Script Request Thread #2 -
LarzI - 25.03.2009
I bet it's the IsPlayerInCube, since it's six warnings, and isplayerincube has 6 parameters with floats
Re: Script Request Thread #2 -
FrazZ - 25.03.2009
I know its create object, klutty. BTW Thanks for that idea lol.
Re: Script Request Thread #2 -
Fabio11 - 25.03.2009
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
Re: Script Request Thread #2 -
LarzI - 25.03.2009
Show us your IsPlayerInCube function.
Re: Script Request Thread #2 -
Fabio11 - 25.03.2009
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;
}
Re: Script Request Thread #2 -
StrickenKid - 25.03.2009
i need a working /arrest and /ticket command, thanks!
Re: Script Request Thread #2 -
Shellegg - 25.03.2009
download a RP GM that have it and get the commands there..
become a little man..
Re: Script Request Thread #2 -
Nero_3D - 25.03.2009
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;
}
Re: Script Request Thread #2 -
LarzI - 25.03.2009
No wonder it gave warnings
Re: Script Request Thread #2 -
Martinike - 25.03.2009
Need /buydriving will buy driving license only! cost 500,
Thanks! GM is GodFather.
Im thanking for who makes codes.