SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 48
Search took 0.00 seconds.
Search: Posts Made By: dicknyson
Forum: General 07/09/2018, 10:06 PM
Replies: 207
Views: 53,426
Posted By dicknyson
Re: Screenshots & Videos

Kalcor happened to the SA-MP forum and now here we are.
Forum: Scripting Help 09/01/2018, 10:49 PM
Replies: 1
Views: 157
Posted By dicknyson
Tag mismatch from CTime

I'm using the CTime Library Plugin (http://forum.sa-mp.com/showthread.php?t=294054) to represent unix timestamps as date and time. To make it a little easier and quicker, I made a function to do...
Forum: Discussion 06/01/2018, 04:59 PM
Replies: 2
Views: 1,306
Posted By dicknyson
Saving online time with a MySQL event

I was just about to create a timer to update all online players' online time in a MySQL table every 5 minutes, but then I thought... would a MySQL event be better? Something like:

CREATE EVENT...
Forum: Scripting Help 02/01/2018, 12:38 PM
Replies: 7
Views: 250
Posted By dicknyson
Re: Including files

Ah, thanks for that.
Forum: Scripting Help 02/01/2018, 11:06 AM
Replies: 7
Views: 250
Posted By dicknyson
Re: Including files

I receive error 100 (cannot read from file).
Forum: Scripting Help 02/01/2018, 10:58 AM
Replies: 7
Views: 250
Posted By dicknyson
Re: Including files

Yeah, it does.

main.pwn:
#include "functions.pwn"

functions.pwn:
#include "functions/connections.pwn"
#include "functions/time.pwn"

Then connections.pwn and time.pwn contain functions...
Forum: Scripting Help 02/01/2018, 10:49 AM
Replies: 7
Views: 250
Posted By dicknyson
Including files

This one has me scratching my head but I bet it's obvious.

I have my main gamemode file in my gamemodes folder which gets compiled. I have a folder in my gamemodes folder called "functions", with...
Forum: Scripting Help 12/08/2017, 01:02 PM
Replies: 2
Views: 256
Posted By dicknyson
MySQL slows down after server restart

I'm loading 86 houses from a MySQL table. Exterior xyz, interior xyz, interior id, price, owner's name. It's been this way for years since I first coded it, and it's never had any problems. Loads the...
Forum: Scripting Help 13/11/2016, 05:41 PM
Replies: 3
Views: 239
Posted By dicknyson
Re: ****** translate

I think they're asking if it's possible to translate a string of text from a SAMP server using ****** Translate.
Forum: Scripting Help 10/11/2016, 09:29 AM
Replies: 2
Views: 287
Posted By dicknyson
Re: MySQL Update

You need to call a callback when the query has finished running. Do this with the mysql_tquery function, for example mysql_tquery(SQL,query, "CallBack");

and then


forward CallBack();
public...
Forum: Scripting Help 03/11/2016, 06:36 PM
Replies: 2
Views: 219
Posted By dicknyson
Re: Mysql crash issue

if(strfind(inputtext,"%%")!= -1) return Kick(playerid);

From the wiki:

Format Specifiers

%i Integer (whole number)
%d Integer (whole number).
%s String
%f Floating-point number (Float:...
Forum: Server Support 03/11/2016, 10:01 AM
Replies: 13,893
Views: 1,560,538
Posted By dicknyson
Re: Looking for scripters/helpers? Post here!

http://puu.sh/s4WGN/9897295155.png
Forum: Scripting Help 02/11/2016, 09:06 PM
Replies: 0
Views: 186
Posted By dicknyson
NPC Markers

I want to be able to see NPC's markers on the map no matter how far away they are, just like with regular player markers. I've tried using ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL); but the NPC...
Forum: Scripting Help 24/10/2016, 12:46 PM
Replies: 1
Views: 166
Posted By dicknyson
Maths Question

I was just wondering, would

number *= anothernumber work instead of number = number*anothernumber

in the same way that

number += anothernumber can replace number = number+anothernumber?
Forum: General 23/10/2016, 01:33 PM
Replies: 0
Views: 224
Posted By dicknyson
Best holiday-themed scripts/minigames

Some servers implement small minigames to celebrate certain holidays, such as Christmas and Halloween. What are some of the best scripts you've seen in SA-MP servers related to holidays?
Forum: Everything and Nothing 09/10/2016, 04:10 PM
Replies: 36
Views: 3,751
Posted By dicknyson
Re: Don't buy from hostskool.

Hosted with them a while back for about a month. They were terrible. Things kept going wrong and they took ages to reply to anything.
Forum: Scripting Help 25/06/2016, 12:01 AM
Replies: 2
Views: 174
Posted By dicknyson
Re: Help ambiental music

new PlayingMusic[MAX_PLAYERS];

public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, -261.05, 2227.15, 58.45) && !PlayingMusic[playerid])
{
PlayingMusic[playerid] =...
Forum: Everything and Nothing 24/06/2016, 03:10 PM
Replies: 53
Views: 3,332
Posted By dicknyson
Re: Brexit

Actually, it was a 10% drop. Highest drop since 1980s.
Forum: Everything and Nothing 24/06/2016, 01:29 PM
Replies: 53
Views: 3,332
Posted By dicknyson
Re: Brexit

https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/13445227_10154180433575330_7465286227094372276_n.jpg?oh=2e48e671a0310dab2a077d9618141d16&oe=580C0DC3

Oh well, no biggie, right?
Forum: Everything and Nothing 23/06/2016, 10:56 PM
Replies: 53
Views: 3,332
Posted By dicknyson
Re: Brexit

I voted remain. It's sad to see that most leave supporters' views are supported by racism or xenophobia. It's funny, though, how most foreigners that come to the UK either take the crap jobs that...
Forum: Everything and Nothing 23/06/2016, 10:44 PM
Replies: 9
Views: 502
Posted By dicknyson
Re: New gamemode idea.

Sounds pretty fun, but it's just one idea; one system. Most servers have multiple different ideas and minigames that give players something to do at all times, like Mini Missions has races, DMs,...
Forum: Everything and Nothing 13/06/2016, 09:14 AM
Replies: 28
Views: 2,062
Posted By dicknyson
Re: Driving Lessons

A lot of people have been telling me this, so I'm focusing on getting it all learnt so I can get my theory booked in as soon as possible.

Luckily my driving instructor has a partnership with this...
Forum: Scripting Help 13/06/2016, 09:10 AM
Replies: 11
Views: 604
Posted By dicknyson
Re: Help with user password verification

Watch or read some tutorials. Even if the tutorials don't tell you how to do exactly what you want to do, it could enlighten you and enable you to more easily figure it out on your own.
Forum: Server Support 12/06/2016, 09:01 PM
Replies: 13,893
Views: 1,560,538
Posted By dicknyson
Re: Looking for scripters/helpers? Post here!

http://puu.sh/pqjgY/2b76155222.png

I'm looking for a developer, mappers, and administrators for a Freeroam/Stunt/DM/Race server. You must be fluent in English and be at least 16 years old for...
Forum: Everything and Nothing 09/06/2016, 09:03 PM
Replies: 21
Views: 1,548
Posted By dicknyson
Re: Roleplay.. dafuq is this?

Well there's a certain line between gaming and real life. You don't want to cross that line, or not too far at least, because it just gets boring and annoying.

For example, imagine if you were...
Showing results 1 to 25 of 48

 

All times are GMT. The time now is 04:55 PM.


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