SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: xRadical3
Forum: Scripting Help 12/08/2020, 11:20 PM
Replies: 1
Views: 19
Posted By xRadical3
Re: listitem return wrong value

This not correct:
SendClientMessage(playerid, COLOR_WHITE, "%i", listitem);

You should use format function:

new string[24];
format(string, sizeof string, "listitem: %i", listitem);...
Forum: Scripting Help 12/08/2020, 03:20 PM
Replies: 5
Views: 61
Posted By xRadical3
Re: ServerHeartBeatTwo

First of all use -d3 or -d2 option (https://forum.sa-mp.com/showpost.php?p=1253632&postcount=7)
for compile gamemode then show us which line crashing server.
Also put your codes between...
Forum: Scripting Help 12/08/2020, 03:13 PM
Replies: 2
Views: 43
Posted By xRadical3
Re: SendClientMessageToAll in a range?

stock SendNearMessage(playerid, color, string[], Float:radius)
{
new Float:Position[3];
GetPlayerPos(playerid, Position[0], Position[1], Position[2]);
foreach(new i : Player)
{
...
Forum: Scripting Help 12/08/2020, 02:42 PM
Replies: 5
Views: 61
Posted By xRadical3
Re: ServerHeartBeatTwo

Show ServerHeartBeatTwo codes.
Forum: Scripting Help 12/08/2020, 09:18 AM
Replies: 3
Views: 114
Posted By xRadical3
Re: help with this code that I invented

stock
IsPlayerUsingWeapon(playerid, _weaponid)
{ // Author: VVWVV
const MAX_WEAPONS_SLOTS = 13;
static ammo, weaponid;
for (new i; i != MAX_WEAPONS_SLOTS; i++)
{
if...
Forum: Scripting Help 12/08/2020, 08:43 AM
Replies: 1
Views: 52
Posted By xRadical3
Re: Help me please

You have a mistake in:

new idjob = 0;

for(new i; i < sizeof(JobInfo); i++)
{
idjob = i;
}

If you want to get free/unused id you should do like this:
Forum: Scripting Help 11/08/2020, 06:05 PM
Replies: 3
Views: 92
Posted By xRadical3
Maprecorder

Some hackers use the maprecorder cheat to copy the server map and place it on their own servers.
Is there no way to prevent them?
They copy the maps I worked on for hours with one click! :(...
Forum: Scripting Help 10/08/2020, 04:28 PM
Replies: 8
Views: 282
Posted By xRadical3
Forum: Scripting Help 10/08/2020, 09:49 AM
Replies: 4
Views: 121
Posted By xRadical3
Re: samp-npc randomly stops working

Maybe you have some commands works on npcs, prevent from it.
Like you respawn all cars and npcs cars also respawned.
Forum: Scripting Help 10/08/2020, 08:41 AM
Replies: 2
Views: 92
Posted By xRadical3
Re: Help me !

Well, Isn't SAMPCAC anti-cheat?
SA:MP Client Anti-Cheat
Forum: Scripting Help 10/08/2020, 08:35 AM
Replies: 1
Views: 74
Posted By xRadical3
Re: MYSQL crash

https://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq/11990813#11990813
Forum: Scripting Help 09/08/2020, 05:08 PM
Replies: 3
Views: 120
Posted By xRadical3
Re: Run time error 4: "Array index out of bounds"

Use -d3 option then show the runtime line code.
https://forum.sa-mp.com/showpost.php?p=1253632&postcount=7
Forum: Scripting Help 08/08/2020, 05:51 PM
Replies: 2
Views: 107
Posted By xRadical3
Re: Help me !

//Put in top of script
new Text3D:ykz[MAX_PLAYERS];

//put this in where you want to delete label
Delete3DTextLabel(ykz[playerid]);

//also add playerid array to 'ykz' variable like this
ykz =...
Forum: Scripting Help 08/08/2020, 03:30 PM
Replies: 8
Views: 282
Posted By xRadical3
Re: Npc driver is lagging

Sorry for reply after 4 days.
I record again in a empty local server but still same, with do this I feel that the lag has decreased a bit.
Another solution?



I tested at400_lv.rec but not...
Forum: Scripting Help 08/08/2020, 01:58 PM
Replies: 5
Views: 121
Posted By xRadical3
Re: Help me !

Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, -2.0);
You can change label position by your self.
Forum: Scripting Help 08/08/2020, 12:54 PM
Replies: 5
Views: 121
Posted By xRadical3
Re: Help me !

public OnPlayerConnect(playerid)
{
new Text3D:label = Create3DTextLabel("*-GANG WAR-*", 0xFF9900FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.2);
...
Forum: Scripting Help 08/08/2020, 11:48 AM
Replies: 2
Views: 89
Posted By xRadical3
Re: Getting kicked out of vehicle for no reason

Also check you not have ClearAnimation function in OnPlayerEnterVehicle or OnPlayerStateChange.
Forum: Scripting Help 08/08/2020, 10:05 AM
Replies: 1
Views: 71
Posted By xRadical3
Re: Dialog Spoof

Explain more, what's the admwarning?
Show your codes.
Forum: Scripting Help 07/08/2020, 08:24 PM
Replies: 3
Views: 1,127
Posted By xRadical3
Re: [MAPPER] I search some mapper for small thing

This post was sented in 2011...
You can check the post date.
Forum: Scripting Help 07/08/2020, 06:15 AM
Replies: 1
Views: 88
Posted By xRadical3
Re: Ayuda GM

https://forum.sa-mp.com/showthread.php?t=515312
https://forum.sa-mp.com/showthread.php?t=665226
Forum: Scripting Help 07/08/2020, 06:11 AM
Replies: 5
Views: 153
Posted By xRadical3
Re: Error comand Server: Unknown Command

CMD:r(playerid,params[])
{
if(PlayerInfo[playerid][pRadio] == 1)
{
new text[128];
if(sscanf(params,"s[128]", text)) return SCM(playerid,-1,"USAGE:{FFFFFF} /r [Mensaje]");
...
Forum: Scripting Help 06/08/2020, 02:08 PM
Replies: 3
Views: 136
Posted By xRadical3
Re: Help FOr /sethealth and /setarmour command

sscanf(params, "uis(No Reason)", PID, amount, reason)
//change to
sscanf(params, "uiS(No Reason)", PID, amount, reason)
Forum: Scripting Help 06/08/2020, 01:39 PM
Replies: 1
Views: 56
Posted By xRadical3
Re: finde den fehler nicht

SetPlayerVirtualWorld(playerid, i2 != 4?(i2+1):i2 != 8?(i2+1)i2+1));
This is wrong syntax.
What do you want to do?
Forum: Scripting Help 06/08/2020, 01:24 PM
Replies: 11
Views: 1,379
Posted By xRadical3
Re: VIP Cars

new VIPVehiclesTimer;

//OnGameModeInit
VIPVehiclesTimer = gettime()+5*60; //every 5mins

//server one second timer public
if(VIPVehiclesTimer > gettime())
{
...
Forum: Scripting Help 04/08/2020, 01:17 PM
Replies: 9
Views: 176
Posted By xRadical3
Re: error 017: undefined symbol "DistribuitorDeHaineCP"

Change line 1010 to SendClientMessage(playerid, -1, "Jobul tau a esuat!");
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:04 AM.


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