Search Results
thepro, he means the default 100$ loss in SA-MP. Which is retarded. Just give the player 100$ when he spawns. Should work.
262
Quote: Originally Posted by [XS XtremE_ ] Quote: Originally Posted by Roger_Ware How to convert?? http://gtamap.delux-host.com/ Get used to using http://convertffs.com/...
106
These textdraws below doesn't seem to want to hide when I exit a vehicle. pawn Код: if(newstate == PLAYER_STATE_ONFOOT)    {      TextDrawHideForPlayer(playerid, Textdraw0);      TextDraw...
47
Yup, that did the trick. pawn Код: 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 o...
83
Quote: Originally Posted by Conroy Try dividing in the stock. Dividing in the second last line gave me an error, I'm gonna try it in the 'return'.
83
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 ...
83
Quote: Originally Posted by TTJJ Yeah you may then just have to use proximity. So if they are within 1.0 coords of the target object show them as colliding with it. I dont really think the...
417
Quote: Originally Posted by Aleksandar_Zivanovci ah, sorry for double post, my mistake (i celebrated last night and i am still little bit drunk) He STILL wanted to detect hits, not prox...
417
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 not sure...
683
Quote: Originally Posted by Aleksandar_Zivanovci you can use function IsPlayerInRangeOfPoint(playerid,3.0, Float, Float:y, Float:z); He wants to detect hits.
417
If you're good, maybe you can work it out from this? http://forum.sa-mp.com/index.php?topic=164056.0
417
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 keysta...
417
Oh god damn it no, it's not a float, look pawn Код: stock GetPlayerSpeed(playerid,bool:kmh){  new Float:Vx,Float:Vy,Float:Vz,Float:rtn;  if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(Ge...
118
Quote: Originally Posted by DJDhan Код: updatespeedtimer = SetTimerEx("UpdateSpeed", 500, true, "ds", playerid, vehid); forward UpdateSpeed(playerid, vehid); public UpdateSpeed(player...
118
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? pawn Код:...
118
Your SetPlayerSkin command is corrupted, obviously. Look it through.
76
This piece of code(after fixed) crashes the compiler. Someone look at it? pawn Код: forward UpdateSpeed(playerid);public UpdateSpeed(playerid);{    new speed = GetPlayerSpeed(playerid, false);Â...
118
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 wo...
118
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.
171
Quote: Originally Posted by MWF2 Quote: Originally Posted by Naxix You cut check if there is anybody near the criminal with IsPlayerInRangeOfPoint and if so check if they are c...
99