SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 451
Search took 0.02 seconds.
Search: Posts Made By: v1k1nG
Forum: Scripting Help 01/04/2020, 10:21 PM
Replies: 5
Views: 103
Posted By v1k1nG
Re: PLEASE HELP

Global and local variable:


main(){
return 1;
}

new Variable; // Global variable - defined OUTSIDE any public function and accessible later on

public OnGameModeInit(){
Forum: Scripting Help 31/03/2020, 01:33 PM
Replies: 4
Views: 125
Posted By v1k1nG
Re: GetPlayerSkin returns 0?

https://wiki.sa-mp.com/wiki/GetPlayerSkin

also check mysql log, probably there is something wrong.
Forum: Scripting Help 29/03/2020, 11:03 PM
Replies: 9
Views: 97
Posted By v1k1nG
Re: Select a SPAWNPOINT

yes it is, you need to post the E_CAPTURE_ZONE enum as well though.
Forum: Scripting Help 29/03/2020, 11:00 PM
Replies: 4
Views: 65
Posted By v1k1nG
Re: Coding error

Something like this


public OnPlayerDeath(playerid, killerid, reason)
{
new pvw, str[256], deadname[MAX_PLAYER_NAME + 1], killername[MAX_PLAYER_NAME + 1];
pvw =...
Forum: Scripting Help 29/03/2020, 10:49 PM
Replies: 9
Views: 97
Posted By v1k1nG
Re: Select a SPAWNPOINT

Ah so you need someone to script it for you, you need to post this under scripting request, this is scripting help section. Anyways you should provide more informations as well, who will help you...
Forum: Scripting Help 29/03/2020, 10:42 PM
Replies: 4
Views: 65
Posted By v1k1nG
Re: Coding error

format(str, sizeof(str), ""#CNARANJA"%s {FFFFFF}mató a "CNARANJA"%s", killerid, playerid);

You are using %s specifiers that is used for strings for "killerid" and "playerid" which actually aren't...
Forum: Scripting Help 29/03/2020, 10:37 PM
Replies: 9
Views: 97
Posted By v1k1nG
Re: Select a SPAWNPOINT

Well if you don't script up your dialog, the command will only show the dialog up, and whatever you do with it nothing will happen because you didn't manage how it'll work.
Forum: Scripting Help 29/03/2020, 10:31 PM
Replies: 9
Views: 97
Posted By v1k1nG
Re: Select a SPAWNPOINT

You forgot to show us your dialog
Forum: Scripting Help 28/03/2020, 09:22 PM
Replies: 6
Views: 113
Posted By v1k1nG
Re: Anti vehicle repair hack

This

Also you will need to save players' vehicle health in a global per-player variable (which will have to be reset whenever a player joins/leaves, changes vehicle, or vehicle gets destroyed) and...
Forum: Everything and Nothing 27/03/2020, 10:17 PM
Replies: 19
Views: 2,015
Posted By v1k1nG
Forum: Scripting Help 27/03/2020, 05:45 PM
Replies: 2
Views: 58
Posted By v1k1nG
Re: Account not save

Don't go crazy after .ini files, to save players' accounts it's better to learn MySql.
Backup your gamemode and try.
Forum: Screenshots and Videos 26/03/2020, 08:07 PM
Replies: 6
Views: 366
Posted By v1k1nG
Re: Make San Andreas pretty again: Sun, grass and drawdistance mods

Definitely better now. I had used that same draw distance enhancer time ago and now cannot manage to make it work j.j
Forum: Scripting Help 26/03/2020, 06:23 PM
Replies: 18
Views: 202
Posted By v1k1nG
Re: Faction System

I think he needs to learn it from 0, it is not hard, you can do it :)
Forum: Scripting Help 26/03/2020, 06:13 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

So version 1.5 and 1.3 are compatible?
Forum: Scripting Help 26/03/2020, 05:12 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

I think I've once managed to solve that same problem on a free ultra-h server, but eventually all the efforts were useless because the RAM offered by their free servers won't allow you to use...
Forum: Scripting Help 26/03/2020, 04:57 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

I think it's a lack of the OS running the server, it needs GLIBC_2.27
Forum: Scripting Help 26/03/2020, 04:54 PM
Replies: 3
Views: 52
Posted By v1k1nG
Re: heisst

I don't think you can use the random() native to initialize an array
Forum: Scripting Help 26/03/2020, 04:41 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

Not familiar with that error, never showed up to me, yet you could try using the static version of the plugin
Forum: Scripting Help 26/03/2020, 04:22 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

You need the ColAndreas.cadb database file, as this says.
The ColAndreas.cadb database file has to be the same version of the plugin.

https://github.com/Pottus/ColAndreas/wiki/Instructions...
Forum: Scripting Help 26/03/2020, 04:11 PM
Replies: 4
Views: 89
Posted By v1k1nG
Re: warning 213: tag mismatch

_: is used to tell the compiler to ignore the tag
Forum: Scripting Help 26/03/2020, 04:06 PM
Replies: 6
Views: 160
Posted By v1k1nG
Re: Why this timers doesn't work?

update_gametext_timer[playerid] = SetTimerEx("UpdateGameTextCountdown", 1000, true, "d", playerid);

You use a timer to call the public function every second.

After it gets called, you wrote
...
Forum: Scripting Help 26/03/2020, 03:50 PM
Replies: 20
Views: 180
Posted By v1k1nG
Re: Problem ColAndreas

It means the cadb file is not found or the plugin version is different from the cadb file

https://github.com/Pottus/ColAndreas/issues/11
Forum: Scripting Help 18/03/2020, 07:37 PM
Replies: 4
Views: 119
Posted By v1k1nG
Re: Take player out of jail

Just read the warnings
Forum: Gamemode Scripts 04/10/2019, 04:18 PM
Replies: 121
Views: 63,357
Posted By v1k1nG
Forum: Scripting Help 30/07/2019, 04:51 PM
Replies: 6
Views: 176
Posted By v1k1nG
Re: Can't create pickup beyond certain co-ord fix?

Check player's position or distance from the point x y coordinate, if he's there you make him go inside
Showing results 1 to 25 of 451

 

All times are GMT. The time now is 10:47 PM.


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