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: coool
Forum: Screenshots and Videos 08/08/2020, 05:09 PM
Replies: 5
Views: 405
Posted By coool
Forum: Scripting Help 07/08/2020, 06:52 AM
Replies: 712
Views: 177,992
Posted By coool
Re: Today I learned - Share your newly found knowledge!

Arrays are always passed-by-reference.
Forum: Scripting Help 05/08/2020, 07:10 AM
Replies: 1
Views: 96
Posted By coool
Re: Discord ingame BAN?

guild means server
Forum: Scripting Help 04/08/2020, 02:39 PM
Replies: 6
Views: 228
Posted By coool
Re: Npc driver is lagging

does it happen with NPC scripts already in npcmodes folder like at400_ls at400_lv
maybe try rerecording the NPC.
Forum: Scripting Help 04/08/2020, 09:22 AM
Replies: 6
Views: 228
Posted By coool
Re: Npc driver is lagging

Does it happen on local server or hosted?
Does it happen also with NPC scripts bundled with server installation?
Forum: Scripting Help 03/08/2020, 06:25 AM
Replies: 3
Views: 201
Posted By coool
Re: optimization CMD:stats

CMD:stats(playerid, params[])
{
new string[200];
format(string, sizeof(string), "__________________________________[%s]__________________________________", GetName(playerid));...
Forum: Scripting Help 25/07/2020, 02:49 PM
Replies: 4,149
Views: 639,462
Posted By coool
Re: Little coding questions - For general minor queries 5

new AttachedObjects[MAX_VEHICLES][100];
hook AttachObjectToVehicle()
{
new free_slot;
for (free_slot = 0; free_slot < sizeof AttachedObjects[vehicled]; free_slot++)
if...
Forum: Server Support 07/07/2020, 04:28 PM
Replies: 3
Views: 294
Posted By coool
Re: Samp error.

idk about "Invalid index parameter" but bad entry point sounds something related to main() or OnFilterScriptInit() (Is it an entry point in filter scripts???)
Forum: Everything and Nothing 07/07/2020, 11:16 AM
Replies: 14
Views: 712
Posted By coool
Re: Can a 12 year old learn scripting?

Depends on mental health, how is yours?
Forum: Scripting Help 05/07/2020, 02:50 PM
Replies: 5
Views: 149
Posted By coool
Re: Money in Sql

No, just function names
Forum: Scripting Help 26/06/2020, 03:22 PM
Replies: 5
Views: 137
Posted By coool
Re: Unix to human time

Variables in which you want to store them, these are called reference variables, and the phenomenon is called 'call by reference'

new year, month, day, hours, minutes, second;...
Forum: Scripting Help 23/06/2020, 05:26 AM
Replies: 6
Views: 176
Posted By coool
Re: help with this command please

query the database and get players' names or anything else who have the same faction
"SELECT `name` FROM `players` WHERE `Faction` = %e", PlayerInfo[playerid][jMiembro]
then, loop the returned...
Forum: Everything and Nothing 21/06/2020, 03:18 PM
Replies: 5
Views: 600
Posted By coool
Re: Flowchart

I don't even know what it is :D
And from the inactivity of this thread I doubt fellow sa-mpers know about it.
Forum: Gamemode Scripts 18/05/2020, 04:35 AM
Replies: 12
Views: 2,840
Posted By coool
Forum: Scripting Help 14/05/2020, 08:50 AM
Replies: 1
Views: 77
Posted By coool
Re: Question about callback in FS

maybe the first filterscript in server.cfg gets called first. You can check it by adding different print statements under OnDialogResponse and see which one gets called.
Forum: Filterscripts 14/05/2020, 05:46 AM
Replies: 4
Views: 2,159
Posted By coool
Re: GPS System with Arrows on road.

Good, I also searched for the same arrows on road GPS system in the past after seeing it in Crazy Bob's CnR.
P.S can you make another mirror pastebin doesn't work for me.
Forum: Scripting Help 12/05/2020, 10:29 AM
Replies: 4
Views: 168
Posted By coool
Re: Contact List - Phone Textdraw

I have posted code for the per page stuff for example if there are 15 contacts clicking up button will change contact#1 to contact#9 and contact#8 to contact#15, you can also make it to change one by...
Forum: Scripting Help 12/05/2020, 04:41 AM
Replies: 12
Views: 251
Posted By coool
Re: extract values

You have to execute the query, and there was a mistake in your query
new query[100];
mysql_format(db, query, sizeof(query), "SELECT 'minFPS' FROM `config`");
mysql_tquery(db, query,...
Forum: Scripting Help 11/05/2020, 05:57 AM
Replies: 4
Views: 116
Posted By coool
Re: Restricting vehicle IDs

new vehicleIDs[] = {406, 407, 416, 417, 425, 427, 428, 430, 432, 435, 447, 449, 450, 476, 486, 497, 520, 523, 528, 532, 537, 538, 544, 548, 563, 569, 570, 582, 584, 590, 591, 596, 597, 598, 599, 601,...
Forum: Scripting Help 04/05/2020, 04:59 PM
Replies: 10
Views: 285
Posted By coool
Re: CreateBox

If it is transparent how do you know it exists?
Forum: Scripting Help 04/05/2020, 03:29 PM
Replies: 3
Views: 94
Posted By coool
Re: How can i detect if player spraying

Check for his animation or check for a particular key when player is holding spray can.
Forum: Scripting Help 29/04/2020, 03:18 PM
Replies: 3
Views: 125
Posted By coool
Re: Calculating Kilometer/s (only) travelled

Do you want distance (which you say in the post)? or speed (which you say in the title), if you want distance use GetDistanceFromPoint() and divide the result by 1000 to convert meters into...
Forum: Gamemode Scripts 21/04/2020, 10:12 AM
Replies: 233
Views: 88,190
Posted By coool
Re: ... || ZOMBIE APOCALYPSE || ...

Didn't knew. I have the original(v1.01) zombie apocalypse mode but I don't know if it's allowed to give or not.
Forum: Gamemode Scripts 20/04/2020, 02:33 PM
Replies: 233
Views: 88,190
Posted By coool
Forum: Scripting Help 01/04/2020, 02:56 PM
Replies: 8
Views: 236
Posted By coool
Re: About pawn syntax

In case if you don't know you can use "#pragma semicolon 0" to avoid ; for every statement.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 09:07 AM.


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