SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: WillyP
Forum: Scripting Help 18/11/2017, 03:27 PM
Replies: 9
Views: 411
Posted By WillyP
Re: Is there a way if a player fell out of map?

Don't worry, we all make mistakes :p
Forum: Scripting Help 18/11/2017, 03:23 PM
Replies: 5
Views: 475
Posted By WillyP
Forum: Scripting Help 18/11/2017, 03:20 PM
Replies: 9
Views: 411
Posted By WillyP
Re: Is there a way if a player fell out of map?

Possibly something in your code is conflicting with other parts causing the player to spawn somewhere different to where you have specified, as well as the lack of message and weapons. Can't really...
Forum: Scripting Help 18/11/2017, 03:04 PM
Replies: 9
Views: 411
Posted By WillyP
Re: Is there a way if a player fell out of map?

If your server is public, send me the IP and I'll join and rejoin a few times, what you're saying doesn't really make sense unless it's coding related
Forum: Scripting Help 29/12/2013, 06:52 PM
Replies: 7
Views: 1,418
Posted By WillyP
Re: HOW TO UPDATE YSI LIBARY

Re-compile the gamemode and filterscripts which use YSI as an include
Forum: Scripting Help 27/06/2013, 06:06 PM
Replies: 20
Views: 1,349
Posted By WillyP
Re: OnPlayerUpdate

Only update the rest of the strings during a command otherwise you're constantly updating everything for no reason unless they use the command. Kills and deaths can be updated during the...
Forum: Includes 27/06/2013, 05:52 PM
Replies: 240
Views: 75,305
Posted By WillyP
Re: [alpha] Objects Physics - Handle objects collisions and more.

Pretty awesome, can think of a lot of uses for this :)
Forum: Scripting Help 27/06/2013, 05:47 PM
Replies: 3
Views: 841
Posted By WillyP
Re: Attach Textdraw On Leftside Vehicle

Look at some tutorials, not hard to find
Forum: Scripting Help 23/06/2013, 05:41 PM
Replies: 9
Views: 1,212
Posted By WillyP
Re: Chicken

Assign health values to the object and weapon ID's to determine the damage done whilst shot at
Forum: Scripting Help 23/06/2013, 10:44 AM
Replies: 7
Views: 1,668
Posted By WillyP
Re: World position from vehicle offset

I need something so that it stores the value until it has been removed. I used objects however obviously when the vehicle moved they didn't stick. Basically getting the offset position and saving it...
Forum: Scripting Help 22/06/2013, 08:14 PM
Replies: 7
Views: 1,668
Posted By WillyP
Re: World position from vehicle offset

Ahh, silly mistake. What I'm trying to do is get the offset values, and return it in the world x,y,z. So as a test I could create an object where the values I get from the offset info, then do some...
Forum: Scripting Help 22/06/2013, 07:22 PM
Replies: 7
Views: 1,668
Posted By WillyP
Re: World position from vehicle offset

CMD:wheelpos(playerid,params[])
{
new str[128],str2[128],str3[128];

new Float:x,Float:y,Float:z,Float:a;

new Float:vx,Float:vy,Float:vz;

new Float:rx,Float:ry,Float:rz;
Forum: Scripting Help 22/06/2013, 06:52 PM
Replies: 7
Views: 1,668
Posted By WillyP
Re: World position from vehicle offset

I already had a similar function however I will try yours and compare results :p
Forum: Scripting Help 22/06/2013, 04:53 PM
Replies: 7
Views: 1,668
Posted By WillyP
World position from vehicle offset

Yoo, I was wondering on how I would get the position of the offset of a vehicle in world values. For example, I'd use http://wiki.sa-mp.com/wiki/GetVehicleModelInfo to get the position of the fuel...
Forum: Everything and Nothing 22/06/2013, 03:57 PM
Replies: 6
Views: 607
Posted By WillyP
Re: Sound issue

Ahh okay, cheers :p
Forum: Everything and Nothing 22/06/2013, 03:32 PM
Replies: 6
Views: 607
Posted By WillyP
Sound issue

Hey, recently I've been encountering a sound issue in SA-MP with vehicle engine sounds, the sounds work as they should then they change to a constant engine noise rather than all the different...
Forum: Scripting Help 16/06/2013, 02:14 AM
Replies: 1
Views: 1,025
Posted By WillyP
Calculating vehicle height

Hey, I've been having some problems with getting a vehicle height, storing it and creating an object with the Z value being the height of the vehicle. So far I have used GetVehicleModelInfo, and...
Forum: Scripting Help 15/06/2013, 08:39 PM
Replies: 8
Views: 526
Posted By WillyP
Re: Stats

I create each textdraw by themselves then add them together, each one will have their own string which will be things like this: format(string,sizeof(string),"Money: %d",pStats[pID][Money]); and then...
Forum: Scripting Help 15/06/2013, 08:34 PM
Replies: 6
Views: 1,099
Posted By WillyP
Re: Music in Skin Selection Problem

StopAudioStreamForPlayer(playerid);
Forum: Scripting Help 15/06/2013, 08:19 PM
Replies: 4
Views: 401
Posted By WillyP
Re: Errors

Loose indentations are fine, but if you still want to get rid of them then have a quick look at this. (http://forum.sa-mp.com/showthread.php?t=437374)

It tells you about indentation and other...
Forum: Scripting Help 15/06/2013, 08:14 PM
Replies: 8
Views: 526
Posted By WillyP
Re: Stats

Yep, you will get the player variables, place them into a string which will be shown through whichever means of presentation you choose.
Forum: Scripting Help 15/06/2013, 08:12 PM
Replies: 3
Views: 459
Posted By WillyP
Re: Camera problem

There's no SetPlayerCameraPos for 6, it just leads into the SetSpawnInfo and then SpawnPlayer, hence why the player is spawning rather than having their cam pos set.
Forum: Scripting Help 15/06/2013, 08:09 PM
Replies: 8
Views: 526
Posted By WillyP
Re: Stats

Integrate it with an account system
Forum: Scripting Help 15/06/2013, 08:07 PM
Replies: 6
Views: 1,099
Posted By WillyP
Re: Music in Skin Selection Problem

Under OnPlayerSpawn add a function that will stop the music from playing.
Forum: Scripting Help 15/06/2013, 08:05 PM
Replies: 4
Views: 401
Posted By WillyP
Re: Errors

http://pastebin.com/AHXvdnwE
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:44 PM.


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