Search Results
I think they're are only SA-MP items, not from GTA: San Andreas.
189
Quote: invalid connection handle (id: 1) You have an error connecting to the database, check the IP, username, password and database name.
75
Have you defined params variable? Also, if you're cheking for params, why do you use this line? Код: #pragma unused params
302
It's not connecting propertly to database. Are you sure you're using the correct credentials? Also try using the IP instead of localhost (127.0.0.1 if local)
106
You only have to use mysql_escape_string() for users' inputs, and you have to call that function once per variable. Also, you're finishing the query string with a , which has no sense.
85
Store the vehicles in an array, setting there some basic data (vehicleid, vehicle type, etc.) and loop all the vehicles getting that type. If it's equal to a type you chose for LSPD, then get that veh...
73
It should be %d, not '%d'. Quotation marks are only used in strings.
79
Quote: if(sscanf(params, "dddd", moneys, time)) SendClientMessageEx(playerid, COLOR_GREY, "SU DUNG: /docarrest [fine] [minutes]"); You need just "dd" there Quote: [09...
116
You have a variable called Randoms already defined in your code. Also the array should have a length and Skin: is wrong code.
67
Show the complete code, as using that only once doesn't spawn two cars. This means you're calling it twice.
130
You are passing 3 parameters (string, integer, integer) and only have %s, %d. You are missing one %d for admin level. Also, you are not closing quotation marks.
82
Quote: [16:03:05] Loading filterscript 'buildings.amx'... [16:03:05] *** Streamer Plugin: Include file version (0x27201) does not match plugin version (0x280001) (script might need to b...
100
With this function https://sampwiki.blast.hk/wiki/GetVehicleModelInfo and the vehicle facing angle, you can do some trigonometric functions to calculate its maxX-minX and maxY-minY.
105
Make sure you return 1 in the OnPlayerText callback.
93
Try this: pawn Код: stock LoadTextLabels(){    mysql_query(conn,"SELECT * FROM textlabel", "OnLoadTextLabels", "");    return 1;}forward OnLoadTextLabels();public OnLoadTextLabels(){      ...
90
pawn Код: format(gQuery, sizeof(gQuery), "INSERT INTO `textlabel` (`t_id_`,`t_text`,`t_color_`,`t_x`,`t_y`,`t_z`) VALUES ('%d'),('%s'),('%s'),('%f'),('%f'),('%f')", tInfo[playerid][t_id],"red",gPo...
129
Use SetSpawnInfo before SpawnPlayer gets called.
54
It's %f not %d, as you are storing floats into the array.
58
You have to do a new random each time, before creating the vehicle.
100
It's %d, not '%d', the '' are used only for strings ('%s')
70