SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 138
Search took 0.01 seconds.
Search: Posts Made By: IcyBlight
Forum: Help Archive 05/06/2010, 05:13 PM
Replies: 8
Views: 2,453
Posted By IcyBlight
Re: [Loosing $100 On Player Death/Spawn?!?]

thepro, he means the default 100$ loss in SA-MP. Which is retarded.

Just give the player 100$ when he spawns. Should work.
Forum: Help Archive 05/06/2010, 02:13 PM
Replies: 6
Map
Views: 826
Posted By IcyBlight
Re: Map

http://gtamap.delux-host.com/
[/quote]

Get used to using http://convertffs.com/objects/ for when you need to use streamers.
Forum: Help Archive 04/06/2010, 08:32 PM
Replies: 0
Views: 843
Posted By IcyBlight
Textdraws not hiding.

These textdraws below doesn't seem to want to hide when I exit a vehicle.

if(newstate == PLAYER_STATE_ONFOOT)
{
TextDrawHideForPlayer(playerid, Textdraw0);
...
Forum: Help Archive 04/06/2010, 07:49 PM
Replies: 16
Views: 3,353
Posted By IcyBlight
Re: [Request] Unique RP Script-Edit of Public Enemy

If I knew how to script, sure I'd do it but I don't so that's why I am requesting, and more than 75% of the community doesn't start from scratch so don't say "Like everyone else does"
anyways this...
Forum: Help Archive 04/06/2010, 06:56 PM
Replies: 3
Views: 1,137
Posted By IcyBlight
Re: KM/H to MPH.

Yup, that did the trick.

return floatround(ST[3]/1.621);

But the returned value seems way too large(and was before too).

Says my speed by tapping W is 85 MPH, and that the max speed of the...
Forum: Help Archive 04/06/2010, 06:51 PM
Replies: 3
Views: 1,137
Posted By IcyBlight
Re: KM/H to MPH.

Dividing in the second last line gave me an error, I'm gonna try it in the 'return'.
Forum: Help Archive 04/06/2010, 06:36 PM
Replies: 3
Views: 1,137
Posted By IcyBlight
KM/H to MPH.

Alright look, the GetPlayerSpeed function returns a value in KM/H. I wanted it in MPH, so I divide the result with 1.621 (1,621) to make it MPH. However, this gives me fucked up results like multiple...
Forum: Help Archive 04/06/2010, 02:36 PM
Replies: 18
Views: 1,549
Posted By IcyBlight
Re: How can i detect.

If you need to check for the player hitting the object(punching) you can check for the attack key in that proximity with the equipped weapon being "Hands"

Just a suggestion.
Forum: Help Archive 04/06/2010, 01:10 PM
Replies: 18
Views: 1,549
Posted By IcyBlight
Re: How can i detect.

He STILL wanted to detect hits, not proximity.
Forum: Help Archive 04/06/2010, 11:45 AM
Replies: 51
Views: 11,645
Posted By IcyBlight
Re: GetPlayerSpeed, No timers-Player Speed instantly

Bump.

I used this, and when I turn at some places, my speed increases unrealisticly much.

Like from 60 to 100 in a second.

It seems to be when turning north and when turning south, but I'm...
Forum: Help Archive 04/06/2010, 11:19 AM
Replies: 18
Views: 1,549
Posted By IcyBlight
Re: How can i detect.

He wants to detect hits.
Forum: Help Archive 04/06/2010, 10:56 AM
Replies: 18
Views: 1,549
Posted By IcyBlight
Re: How can i detect.

If you're good, maybe you can work it out from this?

http://forum.sa-mp.com/index.php?topic=164056.0
Forum: Help Archive 04/06/2010, 10:54 AM
Replies: 18
Views: 1,549
Posted By IcyBlight
Re: How can i detect.

Well, you could make a timer that checks if the player is close to a car. But you can't detect if he hits it(when no one is inside).

If you should, that would require checking facing angle and...
Forum: Help Archive 04/06/2010, 10:23 AM
Replies: 8
Views: 1,109
Posted By IcyBlight
Re: Timers with vehicle ID.

Oh god damn it no, it's not a float, look

stock GetPlayerSpeed(playerid,bool:kmh)
{
new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
if(IsPlayerInAnyVehicle(playerid))...
Forum: Help Archive 04/06/2010, 10:02 AM
Replies: 8
Views: 1,109
Posted By IcyBlight
Re: Timers with vehicle ID.

Pff there shouldn't be any semi-colon if you are defining a function.
[/quote]

Hah, thanks, it works now. Stupid mistake. Or, at least it doesn't crash, I'll have to see if it works tho'
Forum: Help Archive 04/06/2010, 09:27 AM
Replies: 8
Views: 1,109
Posted By IcyBlight
Re: Timers with vehicle ID.

Noobinator's clearly isn't right.

Speed isn't a float, since it's rounded.

I'll test those you gave me, but it still doesn't explain why my compiler crashes when I use GetPlayerSpeed?
...
Forum: Help Archive 04/06/2010, 08:28 AM
Replies: 2
Views: 795
Posted By IcyBlight
Re: Skin problem.

Your SetPlayerSkin command is corrupted, obviously. Look it through.
Forum: Help Archive 04/06/2010, 08:20 AM
Replies: 8
Views: 1,109
Posted By IcyBlight
Re: Timers with vehicle ID.

This piece of code(after fixed) crashes the compiler. Someone look at it?

forward UpdateSpeed(playerid);
public UpdateSpeed(playerid);
{
new speed = GetPlayerSpeed(playerid, false);
new...
Forum: Help Archive 04/06/2010, 08:13 AM
Replies: 8
Views: 1,109
Posted By IcyBlight
Timers with vehicle ID.

How do I carry the vehicle ID along in a SetTimerEx? Because some vehicles are not arrayed, in other words, their vehicle ID's are numbers. Some are named in arrays, like kacc_humvee etc., and that...
Forum: Help Archive 04/06/2010, 07:31 AM
Replies: 19
Views: 1,638
Posted By IcyBlight
Re: Leveling up system needed!

your no help.

OnTopic.

its simple, make a function.
forward levelup(playerid);
public levelup(playerid)
{
//add ur stuff here
}
Forum: Help Archive 04/06/2010, 07:27 AM
Replies: 16
Views: 3,353
Posted By IcyBlight
Re: [Request] Unique RP Script-Edit of Public Enemy

Start it from scratch like everyone else does.

This is probably not related or what you wanna hear, but seriously, editing others work is just.... stupid.
Forum: Help Archive 04/06/2010, 07:05 AM
Replies: 4
Views: 903
Posted By IcyBlight
Re: Arrest checkpoint

But it's a checkpoint, so can't i just check if they enter the checkpoint..
[/quote]

Listen, checkpoints doesn't work like pickups. Checkpoints doesn't do jackshit but say "beep" when you enter...
Forum: Help Archive 03/06/2010, 05:47 PM
Replies: 4
Views: 1,014
Posted By IcyBlight
Re: [HELP] Creating remove cones and cones for the faction police.

Just make a text command that spawn a cone at your position?
Forum: Help Archive 03/06/2010, 05:01 PM
Replies: 3
Views: 1,911
Posted By IcyBlight
Forum: Help Archive 03/06/2010, 02:32 PM
Replies: 8
Views: 2,577
Posted By IcyBlight
Re: Weapon states

I'm just guessing, but maybe MORE_BULLETS is when you have more than the count can show?(like, no ammo, it goes blank)

That, or more than 1.

As I said, just guessing.
Showing results 1 to 25 of 138

 

All times are GMT. The time now is 06:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.