Search Results
Long Beach Role Play is a community still in development and dates back with development started on the script in 2014. The server features its own custom made gamemode and UCP from scratch with det...
351
I am seeking a partner(s) / developer(s) who can fulfil the requirements below for a role in a new roleplay server. Extensive knowledge of PAWN, SQL & Database management. Able to comply with co...
205,798
Quote: Originally Posted by AmigaBlizzard Don't use "%s" for a player's name, always use %e to prevent mysql injections. If a player would enter a name like PHP код: ";DROP TABLEÂ...
91
Код: mysql_format(mysql, query, sizeof(query), "INSERT INTO `players` (`Username`, `Password`, `IP`, `Admin`, `VIPLevel`,`CharactersCreated`,`AgeStarted`) VALUES ('%s', '%s', '%s',0,0,0,%d)", Name...
91
Can you show me the code for that screen you sent and what exactly you're trying to do, what is going wrong in the gamemode, what do you want to happen instead?
115
Find the following line in your script where this function is called SetPlayerWorldBounds(playerid, ...); If you remove this your problem should be solved
115
Quote: Originally Posted by Shura Код: else if(PlayerData[playerid][pFactionDuty] && GetPlayerFactionType(playerid) == FAC_TYPE_MEDIC) { COLOR_TEMP = 0xDC6A78FF; } else if(Pla...
61
if(!IsPlayerInRangeOfPoint(playerid, 5.0, 545.6661,-1292.2437,17.2422)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the vehicles dealership."); That should work, a radius of 2.0 ...
86
Most RP scripts will use MySQL. To use the NGRP script you would need to have a copy of the database that came with it setup on a MySQL server
310
Your problem is because you are using the Doors array directly. I would propose using the below code instead. Код: #define MAX_DOORS 500(however may you want to set as a limit) new DoorsLoaded =...
139
Might not be valid to your case but for future reference, avoid using 'Desc' as this is another column name along with 'Group' that cannot be used due to it being a SQL keyword.
141
For some reason GTA like to put Windows in a "Basic Colour Mode" or something like that. I've seen it before myself, a little speech bubble pops up and says something like "The colour theme has been c...
80
1) Check you have the #include for the MySQL plugin are using in your gamemode 2) Check that you have the MySQL include file in your pawno/includes folder that you have used in your gamemode #include ...
97
Don't forget that you will need to hide the original SA-MP nametags by using the code below in your OnGameModeInit() callback. Код: public OnGameModeInit() { // This will fully disable all pl...
95
I'm not sure how this happened but it would be really useful to note which player might have caused this and disclosing their IP upon request for servers to ban this guy.
207
Starting from line 975 Код: //Fuel System td_fuel[playerid] = TextDrawCreate(45,324,"Fuel: 100"); //create the textdraw at position TextDrawBackgroundColor(td_fuel[playerid],COLOR_GRE...
74
If you want to find out the exact co-ordinates to use for a fine tuned accurate look - you can should use both the SetPlayerAttachedObject() + EditAttachedObject in one command public OnPlayerEditedA...
134
Quote: Originally Posted by Aleksabre So, like this: Код: SetPlayerAttachedObject(playerid, 1, 18637, 5)); EditAttachedObject(playerid, 1); public OnPlayerEditedAttachedObject(playerid...
134