SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 472
Search took 0.02 seconds.
Search: Posts Made By: SomebodyAndMe
Forum: Scripting Help 09/07/2016, 02:31 PM
Replies: 5
Views: 354
Posted By SomebodyAndMe
Re: Function not found using #include's

So in your example you'd do it like this:

Houses -> Functions.inc, Data.inc, etc,etc?

That could also be a structure. But it still is a personal matter on which you are the most comfortable...
Forum: Scripting Help 09/07/2016, 01:22 PM
Replies: 5
Views: 354
Posted By SomebodyAndMe
Re: Function not found using #include's

Renamed the include and that worked, thanks alot!
Forum: Scripting Help 09/07/2016, 01:03 PM
Replies: 5
Views: 354
Posted By SomebodyAndMe
Function not found using #include's

Hello,

For readability in a fair big gamemode I've decided to split up all my functions etc, in different files as includes.

Now there's a function that it cannot find even though it is...
Forum: Filterscripts 09/07/2016, 12:52 PM
Replies: 17
[FilterScript] Speed-O-Meter with GPS
Views: 12,075
Posted By SomebodyAndMe
Forum: Scripting Help 20/04/2015, 07:32 AM
Replies: 1
Views: 401
Posted By SomebodyAndMe
Getting data from enum replaces first 2 characters

Hello,

I'm trying to format a string that includes a job name and the playername. Yet somehow when getting the data out of the database, everything is fine, but when getting the data from the...
Forum: Scripting Help 10/08/2014, 12:07 PM
Replies: 10
Views: 1,524
Posted By SomebodyAndMe
Re: Anti-cheat (speedhack related)

Still wouldn't work as you can move your vehicle in air. What you could check if the angle hasn't changed since the last check, I think that'd work.
Forum: Scripting Help 30/04/2014, 08:19 AM
Replies: 5
Views: 489
Posted By SomebodyAndMe
Re: A few problems in one function

Anyone? (Upping the topic)
Forum: Scripting Help 29/04/2014, 04:44 PM
Replies: 5
Views: 489
Posted By SomebodyAndMe
Forum: Scripting Help 29/04/2014, 02:06 PM
Replies: 5
Views: 489
Posted By SomebodyAndMe
Re: A few problems in one function

@Roel that doesn't fix anything unfortunately. I already tried that.

My debug only returns 1 row, maybe it can't query everything?
Forum: Scripting Help 29/04/2014, 01:59 PM
Replies: 5
Views: 489
Posted By SomebodyAndMe
Fixed.

Fixed.
Forum: Scripting Help 18/04/2014, 02:13 PM
Replies: 3
Views: 928
Posted By SomebodyAndMe
Set a player key in 3d text label?

How can I set in a 3d TextLabel:

Press 'SPACE' to refuel your vehicle!

But then where the text 'SPACE' stands, would actually be KEY_SPRINT? Is there a way to create this?
Forum: Scripting Help 03/04/2014, 10:52 AM
Replies: 0
Views: 1,707
Posted By SomebodyAndMe
Question OOP in PAWN?

Object Oriented Programming in PAWN.

Is it possible? Working with classes, data structure, etc, etc..

Sorta like PHP...

Let me know your thoughts on this subject! :)
Forum: Scripting Help 17/01/2014, 03:58 PM
Replies: 5
Views: 758
Posted By SomebodyAndMe
Streamer Freeze Player and loadobjects first

Hello,

Is there a way to call a function on OnPlayerSpawn that freezes the player, and then when the objects near the player has finished loading, he becomes unfrozen.

Is there a way to do...
Forum: Scripting Help 16/01/2014, 04:17 PM
Replies: 4
Views: 535
Posted By SomebodyAndMe
Forum: Scripting Help 16/01/2014, 12:16 PM
Replies: 4
Views: 535
Posted By SomebodyAndMe
Forum: Scripting Help 13/01/2014, 01:58 PM
Replies: 2
Views: 636
Posted By SomebodyAndMe
Re: Convert seconds to minutes and seconds

I've found the solution by using this:

http://forum.sa-mp.com/showpost.php?p=776438&postcount=973

Though thanks for the effort.
Forum: Scripting Help 13/01/2014, 01:32 PM
Replies: 2
Views: 636
Posted By SomebodyAndMe
Convert seconds to minutes and seconds

Hello,

I'm trying to convert seconds, to minutes and seconds. For example 119 seconds, would be 1 minute and 59 seconds.

How do I do that in PAWN? This is what I got so far, probably totally...
Forum: Scripting Help 13/01/2014, 09:04 AM
Replies: 2
Views: 726
Posted By SomebodyAndMe
Re: Converting gettime(); to minutes and seconds

I want to calculate how long it took to go from point A to point be, I've set a gettime(); at the start of point A, now when the player reaches point B, I need to calculate how long the player took...
Forum: Scripting Help 13/01/2014, 08:22 AM
Replies: 2
Views: 726
Posted By SomebodyAndMe
Converting gettime(); to minutes and seconds

Hello,

As I'm not really a fan of math, I forgot about the formula to calculate this.
Could anyone be so kind to help me?


Kind regards,

Kevin Houghton
Forum: Scripting Help 22/08/2013, 03:43 PM
Replies: 3
Views: 470
Posted By SomebodyAndMe
Forum: Scripting Help 19/08/2013, 08:43 PM
Replies: 3
Views: 470
Posted By SomebodyAndMe
Re: Server not restarting.

Not working unfortunately.

Still it says restarting ingame as in: The server is restarting...

But then seeing the logs it isn't.
Forum: Scripting Help 19/08/2013, 08:33 PM
Replies: 3
Views: 470
Posted By SomebodyAndMe
Server not restarting.

Hello,

I have this script where my server should restart after 30 seconds. But when it executes the RconCommand: GMX in the client it says it's restarting but in the server its not restarting at...
Forum: Filterscripts 15/08/2013, 04:36 PM
Replies: 17
[FilterScript] Speed-O-Meter with GPS
Views: 12,075
Posted By SomebodyAndMe
Re: Speed-O-Meter with GPS

Download link is up again. If anyone wants to mirror it feel free to.
Forum: Scripting Help 21/06/2013, 10:21 PM
Replies: 3
Views: 483
Posted By SomebodyAndMe
Re: ZCMD and sscanf won't work for me :(

Do you use strcmp for other commands in your script?

If yes, you will either have to convert them to zcmd, or convert the zcmd to strcmp.
Forum: Bug Reports 12/06/2013, 03:15 PM
Replies: 4
Views: 2,954
Posted By SomebodyAndMe
Showing results 1 to 25 of 472

 

All times are GMT. The time now is 03:40 PM.


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