SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 170
Search took 0.01 seconds.
Search: Posts Made By: shadowdog
Forum: General 18/11/2015, 12:12 PM
Replies: 310
Views: 19,901
Posted By shadowdog
Re: French part of the forum

Hoera voor nederland en Belgie!
Forum: General 17/11/2015, 01:33 PM
Replies: 310
Views: 19,901
Posted By shadowdog
Re: French part of the forum

I do not see why a subforum should be deleted based on people (who are likely trolls) and their opinions on a recent event that got a lot of media attention. We want to discuss this with our friends...
Forum: Everything and Nothing 02/11/2015, 12:00 PM
Replies: 24
Views: 1,896
Posted By shadowdog
Re: To all you Photoshoppers!

http://i.imgur.com/jGIuVhO.png
http://i.imgur.com/uGImNzW.png
Forum: Everything and Nothing 26/08/2015, 02:38 PM
Replies: 68
Views: 4,566
Posted By shadowdog
Forum: Everything and Nothing 26/08/2015, 01:59 PM
Replies: 68
Views: 4,566
Posted By shadowdog
Re: SAMP FREE SERVICE SIGNITURE | Century Gothic Only

Name: Shadowdog
Text Color: Orange (matching the hair)
Sub-Text: X-Studios
Backround or Theme ID : 5
Additional Info: Beautiful
Transparent Border yes/no : Yes
Forum: Scripting Help 15/07/2015, 04:33 PM
Replies: 2
Views: 310
Posted By shadowdog
Re: Checking if a string matches, not working?

It will return 0 if either string is empty. Vehicle IDs start at 1. So start your loop at 1 with: new x = 1.
Forum: Scripting Help 14/07/2015, 12:19 AM
Replies: 7
Views: 481
Posted By shadowdog
Re: MYSQL save problem

savePlayer(playerid)
{
if(sInfo[playerid][logged]==0)return 1;
//Speichern level,money
new query[128];
format(query,sizeof(query),"UPDATE `user` SET...
Forum: Scripting Help 13/07/2015, 03:13 PM
Replies: 6
Views: 466
Posted By shadowdog
Re: Keys in ClientMessage

That is for gametexts. You can try it in Client Messages but I'm not sure if that would work.
Forum: Scripting Help 13/07/2015, 02:51 PM
Replies: 6
Views: 466
Posted By shadowdog
Re: Keys in ClientMessage

I don't think you can get the keys into you Client Message unless you write something you like: 'Your fire key (default LMB).
Forum: Scripting Help 13/07/2015, 02:47 PM
Replies: 4
Views: 519
Posted By shadowdog
Re: [Mapping] House walls not showing inside

House 19505 uses inside 19506.
House 19503 uses inside 19504.
Forum: Scripting Help 13/07/2015, 02:45 PM
Replies: 7
Views: 530
Posted By shadowdog
Re: MySQL Problems [REP+]

stock SaveData(playerid)
{
new query[128];
mysql_format(mysql, query, sizeof(query), "UPDATE `playerdata` SET `Admin`=%d, `VIP`=%d, `Money`=%d, `Helper`=%d, `Kills`=%d, `Deaths`=%d WHERE...
Forum: Scripting Help 13/07/2015, 02:35 PM
Replies: 4
Views: 519
Posted By shadowdog
Re: [Mapping] House walls not showing inside

I assume this is object id 19509?

Add object 19510 at the exact same coordinates and it should create the insides.
Forum: Scripting Help 13/07/2015, 02:33 PM
Replies: 7
Views: 530
Posted By shadowdog
Re: MySQL Problems [REP+]

Can you post the format code for that query?
Forum: Scripting Help 13/07/2015, 01:52 PM
Replies: 7
Views: 530
Posted By shadowdog
Re: MySQL Problems [REP+]

[16:36:52] [ERROR] mysql_format - destination size is too small

That would tell you your destination string is too small for the query. Make it a bit more and see if it solved the problem.
Forum: Scripting Help 10/07/2015, 08:18 PM
Replies: 6
Views: 369
Posted By shadowdog
Re: Check if the player's color is white

GetPlayerColor returns 0 when the color is not set or the player is not connected.

I would highly recommend setting a variable for the player's color, but if you really want to get their color,...
Forum: Scripting Help 03/07/2015, 03:53 PM
Replies: 3
Views: 431
Posted By shadowdog
Re: Checkpoint is skipped.

CMD:busdriver(playerid, params[])
{
if(Bus_Driver[playerid] == 1)
{
new string[256], busdriver[MAX_PLAYER_NAME];
GetPlayerName(playerid, busdriver, sizeof(busdriver));...
Forum: Scripting Help 03/07/2015, 08:23 AM
Replies: 3
Views: 431
Posted By shadowdog
Re: Checkpoint is skipped.

Simple, in your top code, you state:

BD_Steps[playerid] = 1;

while the first case is 0.
Forum: Scripting Help 28/06/2015, 08:29 PM
Replies: 2
Views: 371
Posted By shadowdog
Re: Distance

The distance in San Andreas is measured in Meters, therefore your current function is in meters.

To get it to miles, do:

Float:Distance = GetDistanceBetweenPlayers(playerid,ID) *...
Forum: Scripting Help 28/06/2015, 05:08 PM
Replies: 9
Views: 971
Posted By shadowdog
Re: Selecting textdraws with keys

You could show the player the textdraws, and set a variable if he's in the selection.

Then under OnPlayerKeyStateChange, you check if is the player is in the selection. If they press the arrow...
Forum: Scripting Help 28/06/2015, 04:59 PM
Replies: 5
Views: 591
Posted By shadowdog
Re: Onplayerclickmap not working Help REP+

From: https://wiki.sa-mp.com/wiki/SetPlayerPosFindZ

This function does not work if the new coordinates are far away from where the player currently is. The Z height will be 0, which will likely...
Forum: Scripting Help 28/06/2015, 01:00 PM
Replies: 6
Views: 716
Posted By shadowdog
Re: textdrawselect problem

I'm not sure if that will change anything but you can try.

I think your problem is that your textsizes are too big, causing them to overlap. Which will then result in all of them highlighting,...
Forum: Scripting Help 28/06/2015, 12:49 PM
Replies: 6
Views: 716
Posted By shadowdog
Re: textdrawselect problem

From wiki: https://wiki.sa-mp.com/wiki/OnPlayerClickTextDraw

The clickable area is defined by TextDrawTextSize. The x and y parameters passed to that function must not be zero or negative.

Your...
Forum: Scripting Help 23/06/2015, 12:41 PM
Replies: 1
Views: 328
Posted By shadowdog
Re: [Help] Stats

Reset the stats when a player disconnects. When a new player (who has no stat records joins) the stats from the old player are now written to the new one.


public OnPlayerDisconnect(playerid,...
Forum: Scripting Help 16/06/2015, 12:47 PM
Replies: 13
Views: 1,027
Posted By shadowdog
Re: Need some Tips about " SendRconCommand("changemode x-x-x"); "

You could try naming your gamemodes: Game-1, Game-2, Game-3 etc.
Then use the random function to select the new mode.
Forum: Scripting Help 08/06/2015, 06:29 PM
Replies: 2
Views: 646
Posted By shadowdog
Re: MySQL R6-2 Linux source

Search for 'SA-MP Mysql R6' and you will find this.

https://github.com/eider-i128/SA-MP-MySQL-R6/releases

Come on, googling is not that hard.
Showing results 1 to 25 of 170

 

All times are GMT. The time now is 09:35 PM.


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