SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: xRadical3
Forum: Scripting Help 20/09/2020, 07:20 AM
Replies: 12
Views: 75
Posted By xRadical3
Re: Unknown command Textures Studio

No I can not. You just have to make sure the plugins are loaded correctly. Try to download msvcp100.dll, etc. and put it in the root folder.
Forum: Scripting Help 20/09/2020, 07:01 AM
Replies: 12
Views: 75
Posted By xRadical3
Re: Unknown command Textures Studio

Texture Studio does not require MySQL.
You need WampServer or Xampp to connect to MySQL.
Forum: Scripting Help 20/09/2020, 06:48 AM
Replies: 12
Views: 75
Posted By xRadical3
Re: Unknown command Textures Studio

Server plugins did not load because you do not have msvcp100, msvcr100 ...
Install Microsoft Visual C++ redistributable packages.
Forum: Scripting Help 20/09/2020, 06:41 AM
Replies: 4
Views: 65
Posted By xRadical3
Re: Vehicle Parking

You should destroy old vehicle then recreate it.

CMD:park(playerid, params[])
{
new vehicleid = GetPlayerVehicleID(playerid), id = VehicleInfo[vehicleid][vID];

if(!vehicleid ||...
Forum: Scripting Help 20/09/2020, 06:23 AM
Replies: 2
Views: 36
Posted By xRadical3
Re: How to convert strcmp to zcmd?

CMD:engine(playerid, params[]) {
if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
new vehicleid;
new engine, lights, alarm, doors,...
Forum: Scripting Help 17/09/2020, 08:01 PM
Replies: 10
Views: 286
Posted By xRadical3
Re: Compile takes 1600 seconds

This game mode is for someone else who has given me to fix some bugs and add new systems, but when I saw that compilation time took a long time, I did not do anything more.
I tested some other...
Forum: Scripting Help 16/09/2020, 08:52 AM
Replies: 10
Views: 286
Posted By xRadical3
Compile takes 1600 seconds

I have a script that has 40k lines and compiles in 1600 seconds.
But I have another gamemode with 60k line only takes 60-100 seconds.
What's wrong? :-|

Also after compile finished .amx size is...
Forum: Scripting Help 11/09/2020, 06:53 PM
Replies: 4
Views: 140
Posted By xRadical3
Re: why this message is not showing up?

Send 2 messages.
format(string, sizeof(string), "{79C4CC}General> {98F5FF}Level:{FFFFFF}[%i] (%i/%i) {98F5FF}VIP:{FFFFFF}[%s] {98F5FF}Wanted Level:{FFFFFF}[%i] {98F5FF}Faction:{FFFFFF}[%s]",
...
Forum: Scripting Help 07/09/2020, 07:46 PM
Replies: 6
Views: 217
Posted By xRadical3
Re: INSERT INTO error #1064 while executing query

Make sure `hOwner`.`houses` column and `bOwner`.`business` column is varchar.
Forum: Scripting Help 04/09/2020, 04:28 PM
Replies: 3
Views: 88
Posted By xRadical3
Forum: Scripting Help 04/09/2020, 08:15 AM
Replies: 4
Views: 166
Posted By xRadical3
Re: Camera Angle

https://wiki.sa-mp.com/wiki/GetPlayerCameraPos
https://forum.sa-mp.com/showpost.php?p=3808903&postcount=2
Forum: Scripting Help 03/09/2020, 10:06 PM
Replies: 9
Views: 243
Posted By xRadical3
Re: error 017: undefined symbol "cache_get_field_content_float"

Make sure the streamer plugin has loaded successfully.
Also use the latest streamer version.
Forum: Scripting Help 31/08/2020, 09:07 AM
Replies: 1
Views: 83
Posted By xRadical3
Re: problem pay hitman help

new HitContract[MAX_PLAYERS];
CMD:killer(playerid,params[])
{
new targetid,str[128],ammount,Name3[MAX_PLAYER_NAME],Name2[MAX_PLAYER_NAME];//Creating variable for name
...
Forum: Scripting Help 30/08/2020, 03:00 PM
Replies: 6
Views: 150
Posted By xRadical3
Re: random float

new Float: var[5] = {25.50, 35.00, 15.00, 13.22, 5.35};
new var_number = -1;
new var_numberEx = sizeof(var);

RandFloat()
{
var_number++;
if( var_number == sizeof(var) ) var_number =...
Forum: Scripting Help 29/08/2020, 07:37 AM
Replies: 1
Views: 95
Posted By xRadical3
Re: Hitman's list is not showing

SetPVarInt(playerid,"hitmanmoney",ammount);
//change to
SetPVarInt(targetid,"hitmanmoney",ammount);
Forum: Scripting Help 28/08/2020, 09:50 AM
Replies: 3
Views: 119
Posted By xRadical3
Re: random only 2 number

I wrote a simple function to return only 1 or 3 ...
CreateRandom(number1, number2)
{
new nrand = random(100);
switch(nrand)
{
case 0..49: return number1;
case...
Forum: Scripting Help 28/08/2020, 09:06 AM
Replies: 3
Views: 124
Posted By xRadical3
Re: How load bool variable?

I found this in my old gamemodes:
bool:cache_get_value_name_bool(idx, column[], &bool:dest)
{
new var;
cache_get_value_name_int(idx, column, var);
if(var == 1) dest = true;
else...
Forum: Scripting Help 27/08/2020, 11:58 PM
Replies: 7
Views: 211
Posted By xRadical3
Re: Slow MySQL queries

Idk.
But you can have two or more connection to MySQL.
new MySQL:first_connection;
new MySQL:second_connection;

first_connection = mysql_connect(...);
second_connection = mysql_connect(...);
Forum: Scripting Help 27/08/2020, 09:27 PM
Replies: 7
Views: 211
Posted By xRadical3
Re: Slow MySQL queries

Can you show an example of your query and codes that is slow in the script?
Forum: Scripting Help 27/08/2020, 08:50 PM
Replies: 7
Views: 211
Posted By xRadical3
Re: Slow MySQL queries

How long does it take to a query?
Did you set mysql_log to all?
If you did it, the queries will probably take longer and slow.
Forum: Scripting Help 27/08/2020, 09:33 AM
Replies: 2
Views: 113
Posted By xRadical3
Re: damage

Simple code:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
new
string[16];
...
Forum: Scripting Help 26/08/2020, 06:53 AM
Replies: 4
Views: 113
Posted By xRadical3
Re: Why the GM is unknown please help me!

https://forum.sa-mp.com/showthread.php?t=262796 - CrashDetect
https://forum.sa-mp.com/showthread.php?t=249226 - Nativechecker
Forum: Scripting Help 24/08/2020, 09:12 AM
Replies: 5
Views: 214
Posted By xRadical3
Re: Login help

Show how you save accounts and load it.
Forum: Scripting Help 23/08/2020, 04:36 PM
Replies: 5
Views: 180
Posted By xRadical3
Re: NPC randomly stops playing recording

What code should it show you?



You may have commands that work on NPCs.
For example, when you respawn all vehicle, the NPC vehicles also respawn and stopping play recording.
Forum: Scripting Help 23/08/2020, 01:09 PM
Replies: 4
Views: 163
Posted By xRadical3
Re: Virtual World Script

GetAvailableVirtualWorld()
{
new rand_vw = random(10000);
foreach(new i : Player)
{
if(GetPlayerVirtualWorld(i) != rand_vw) return rand_vw;
}
return 0;
}
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:14 PM.


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