SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 108
Search took 0.00 seconds.
Search: Posts Made By: Balon
Forum: Plugin Development 28/07/2010, 05:06 PM
Replies: 10
Views: 3,507
Posted By Balon
Re: Question about streamer

for example http://en.wikipedia.org/wiki/Vector_(C++)

There are more different implementations of dynamic arrays out there.
Forum: General 28/07/2010, 10:27 AM
Replies: 94
Views: 27,563
Posted By Balon
Re: 0.3b Development bar gone

http://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha
Forum: General 12/06/2010, 07:05 PM
Replies: 18
Views: 2,968
Posted By Balon
Re: Collaberative Open Source SA-MP Server

Yes, and all of them have something in common - they are coded very poorly.
Forum: General 12/06/2010, 06:50 PM
Replies: 18
Views: 2,968
Posted By Balon
Re: Collaberative Open Source SA-MP Server

Maybe people could finally learn something about programming. +1 for the idea.
Forum: Plugin Development 07/06/2010, 07:21 PM
Replies: 1,013
Views: 500,572
Posted By Balon
Re: [REL] SA:MP MySQL Plugin 1.2.1 - New Update Released

mysql_free_result is used for freeing the memory allocated by mysql_store_result. So.. answer to yourself.
Forum: Plugin Development 24/05/2010, 08:06 PM
Replies: 1,013
Views: 500,572
Posted By Balon
Forum: Help Archive 16/03/2010, 03:55 PM
Replies: 7
Views: 1,456
Posted By Balon
Re: MySQL error when updating stats

group have to be `group`
http://dev.mysql.com/doc/refman/5.1/en/reserved-words.html
Forum: Plugin Development 25/02/2010, 01:24 PM
Replies: 5,545
[Plugin] Streamer Plugin
Views: 3,220,843
Posted By Balon
Re: [REL] Streamer Plugin v2.3.6

Take a look at Invoke::callFunction. You allocate the memory for the string, but you don't deallocate it ;)
Forum: Plugin Development 11/01/2010, 04:27 AM
Replies: 262
Views: 163,278
Posted By Balon
Forum: Plugin Development 10/01/2010, 03:12 PM
Replies: 262
Views: 163,278
Posted By Balon
Re: [REL,beta] MapAndreas plugin v1.0

stock
SetPlayerFindPosZ(playerid, Float:x, Float:y)
{
new
Float:z;

MapAndreas_FindZ_For2DCoord(x, y, z);
SetPlayerPos(playerid, x, y, z);
}
[/quote]
Forum: Plugin Development 10/01/2010, 03:02 PM
Replies: 262
Views: 163,278
Posted By Balon
Re: [REL,beta] MapAndreas plugin v1.0

stock
SetPlayerFindPosZ(playerid, Float:x, Float:y)
{
new
Float:z;

MapAndreas_FindZ_For2DCoord(x, y, z);
SetPlayerPos(playerid, x, y, z);
}
Forum: Help Archive 20/12/2009, 08:39 AM
Replies: 9
Views: 2,588
Posted By Balon
Re: Per cent calculation

new Float:percentage = (35.0 / 50.0) * 100.0;
Simply don't mix types guys.
Forum: Help Archive 08/12/2009, 01:55 PM
Replies: 9
Views: 1,206
Posted By Balon
Forum: Help Archive 08/12/2009, 12:46 PM
Replies: 7
Views: 1,244
Posted By Balon
Re: Disable ?

From a_samp.inc.
native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
Forum: Help Archive 08/12/2009, 11:30 AM
Replies: 6
Views: 1,452
Posted By Balon
Re: SetVehicleParamsForPlayer

Try with shorter amount of time, for example 500 ms.
Forum: Help Archive 08/12/2009, 09:50 AM
Replies: 6
Views: 1,452
Posted By Balon
Re: SetVehicleParamsForPlayer

Changing VW for a short time will make the marker disappear.
Forum: Help Archive 08/12/2009, 04:13 AM
Replies: 12
Views: 1,254
Posted By Balon
Re: Help, Player Id

@up: It won't work.
anyway..
public OnPlayerConnect(playerid)
{
switch(playerid)
{
case 0, 2, 4, 5, 6, 7, 8:
{
Kick(playerid);
}
Forum: Filterscripts 06/12/2009, 03:41 PM
Replies: 4,014
Views: 2,183,455
Posted By Balon
Re: Useful Functions

new
FALSE = 0;



#if !defined SendRconCommandEx
#define SendRconCommandEx(%0,%1) \
do \
{ \
new \
Forum: Help Archive 06/12/2009, 01:16 PM
Replies: 5
Views: 916
Posted By Balon
Re: Timer

You use timers in wrong way.
http://wiki.sa-mp.com/wiki/SetTimer
Forum: Help Archive 05/12/2009, 09:31 AM
Replies: 4
Views: 1,127
Posted By Balon
Re: dini

How did you define Userfile variable?
Forum: Help Archive 05/12/2009, 09:04 AM
Replies: 14
Views: 2,244
Posted By Balon
Re: MySQL table problem.

Use strcat instead.

new query[1024];

format(query, sizeof(query),
"CREATE TABLE IF NOT EXIST `jugadores` (\
`id` int(11) NOT NULL autoincrement PRIMARY KEY,\
`nombre`...
Forum: Help Archive 04/12/2009, 01:02 PM
Replies: 2
Views: 984
Posted By Balon
Re: OnPlayerUpdate in samp0.3a

Because you should return 1 in OnPlayerUpdate.
Forum: Help Archive 30/11/2009, 06:32 PM
Replies: 11
Views: 2,404
Posted By Balon
Re: Big string bug? Error: Unknown Command

It has been fixed in 0.3.


It's 4096 cells (1 cell = 4 bytes).
16 384 bytes = 16 kilobytes
Forum: Help Archive 30/11/2009, 04:30 PM
Replies: 11
Views: 2,404
Posted By Balon
Re: Big string bug? Error: Unknown Command

@up: read what he wrote:

It has to be a problem with memory limit.
Forum: Help Archive 30/11/2009, 04:22 PM
Replies: 11
Views: 2,404
Posted By Balon
Re: Big string bug? Error: Unknown Command

If it is memory limit issue so you can increase stack of memory using
#pragma dynamic
And if I remember right so 16K is default stack size:
#pragma dynamic 4096
Showing results 1 to 25 of 108

 

All times are GMT. The time now is 04:08 PM.


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