SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 24 of 24
Search took 0.00 seconds.
Search: Posts Made By: matrix_smq
Forum: Romānă/Romanian 30/09/2010, 08:55 PM
Replies: 3
Views: 1,685
Posted By matrix_smq
Re: Cum fac sa se salveze wantedu cand iesi de pe server si intrii iar?

E un efort crud, dar macar e, poti sa-l mai dezvolti atata timp cat sti ce faci, bafta in continuare

OnPlayerDisconnect(playerid)
{
new string[128], playername[MAX_PLAYER_NAME];
...
Forum: Plugin Development 16/06/2010, 07:06 PM
Replies: 6,156
Views: 2,271,163
Posted By matrix_smq
Re: [REL] MySQL Plugin R4 (21/04/2010)

I know that -.- but how do i use/return the values to store them to variables...
Forum: Plugin Development 16/06/2010, 06:56 PM
Replies: 6,156
Views: 2,271,163
Posted By matrix_smq
Re: [REL] MySQL Plugin R4 (21/04/2010)

Ello! Nice plugin i love it, but is there a function to act like this:

for(new i=0; i<1000; i++)
{
format(query, sizeof(query), "SELECT * FROM vehicles WHERE id = '%d'", i);...
Forum: Help Archive 11/06/2010, 05:35 PM
Replies: 3
Views: 741
Posted By matrix_smq
Re: Make a value pozitive

Hah - - i didn't thought of that, thanks
Forum: Help Archive 11/06/2010, 05:29 PM
Replies: 3
Views: 741
Posted By matrix_smq
Make a value pozitive

Hello!
I have a problem with my script and I think you guys can help ( I searched and tried anything that got in my mind)
Is there any way to make a value of a variable pozitive/negative
Like i...
Forum: Help Archive 07/06/2010, 08:18 AM
Replies: 7
Views: 900
Posted By matrix_smq
Re: register problem! help!!!!

Try not to include both as dudb.inc has
#pragma library dutils
#include <dutils>
#include <dini>

Hope it helps!
Forum: Help Archive 10/02/2010, 08:09 PM
Replies: 2
Views: 1,463
Posted By matrix_smq
Re: [Help] RP server NPC

Just add at the login public
If(IsPlayerNPC(playerid)) return 1;
Forum: Help Archive 30/01/2010, 10:52 PM
Replies: 11
Views: 1,768
Posted By matrix_smq
Re: IsACopCar - Kicks you off if duty == 0

You meen this?


if(PlayerInfo[playerid][pMember] != 1 || OnDuty[playerid] == 0)
{
RemovePlayerFromVehicle(playerid);
}
Forum: Plugin Development 04/01/2010, 08:42 AM
Replies: 815
[Plugin] IRC Plugin
Views: 288,318
Posted By matrix_smq
Re: [REL] IRC Plugin v1.3.2

Can someone post a mirror please?
Or re-upload the plugin somewhere else cause uploadffs is down
Forum: Tutorials 29/11/2009, 09:58 AM
Replies: 1,120
[Tutorial] Creating a new NPC
Views: 425,492
Posted By matrix_smq
Re: Tutorial -> Creating a new NPC

Having problems when adding a NPC, i addedif(IsPlayerNPC(playerid)) return 1; everywhere and still... the NPC connects and after like 20-30 seconds it times out, any ideas?
Forum: Help Archive 22/11/2009, 01:02 PM
Replies: 0
Views: 523
Posted By matrix_smq
[SOLVED]

Sorry and evermind i found what i needed.
Forum: Help Archive 13/05/2009, 07:52 AM
Replies: 21
Views: 1,820
Posted By matrix_smq
Re: gate fix

Use this, hope it helps
Click here! (http://wiki.sa-mp.com/wiki/Automatic_Gates)
Forum: Help Archive 12/05/2009, 09:00 AM
Replies: 6
Views: 3,319
Posted By matrix_smq
Re: Load from FIle

new total_vehicles_from_files=0;

total_vehicles_from_files += LoadStaticVehiclesFromFile("vehiclelists/bone.txt");
total_vehicles_from_files +=...
Forum: Help Archive 12/05/2009, 02:00 AM
Replies: 10
Views: 1,640
Posted By matrix_smq
Re: new public function, but only ID 0 works :(

Woow!
You should try a

for(new j = 0; j < 200; j++)
{
snoop[j][1] = 255;
}
Forum: Help Archive 11/05/2009, 05:45 PM
Replies: 5
Views: 1,421
Posted By matrix_smq
Re: Message to all players when doing /ban

#include <utils>
if you don't have it, make a file utils.inc and in it write
ReturnUser(text[], playerid = INVALID_PLAYER_ID)
{
new pos = 0;
while (text[pos] < 0x21) // Strip out leading...
Forum: Help Archive 11/05/2009, 05:18 PM
Replies: 5
Views: 1,421
Posted By matrix_smq
Re: Message to all players when doing /ban

You have to use

ID = ReturnUser(cmdtext[6]);
And at the
format(str, 64, "%s has been banned from the server for: %s", pName,rest);
Take the ",rest" out.
Here is the code, i think it should...
Forum: Help Archive 11/05/2009, 05:12 PM
Replies: 11
Views: 2,201
Posted By matrix_smq
Re: Save ammo and then set it

new weapons[13],ammo[13];
for(new i = 0;i<13;i++){
GetPlayerWeaponData(playerid,i,weapons[i],ammo[i]);}

Not really, check the slots of the weapon and then the weapon is < weapons[SLOT] >
Check...
Forum: Help Archive 11/05/2009, 05:07 PM
Replies: 1
Views: 1,193
Posted By matrix_smq
Re: Object respawning timer..

#define MAX_ATMs 10


Timer OnGameModeInit

ATMspawn();
SetTimer("ATM_Respawn", 60000, 1);
Forum: Help Archive 11/05/2009, 05:00 PM
Replies: 1
Views: 2,334
Posted By matrix_smq
Forum: Help Archive 10/05/2009, 02:28 PM
Replies: 2
Views: 880
Posted By matrix_smq
Re: Interior problem

Maybe you have too many pickups, try with a pickup streamer
Forum: Help Archive 22/02/2009, 02:52 AM
Replies: 5
Views: 1,059
Posted By matrix_smq
Re: Funny error

No, the code is working (took out the srtval thing) but i need to save the thing as text and, it dosen't...
Forum: Help Archive 21/02/2009, 10:32 PM
Replies: 5
Views: 1,059
Posted By matrix_smq
Re: Funny error

Ok, now got a real thing, i need the "amount" value to be text, but it only makes it number..., can i get a help in this please?
Forum: Help Archive 21/02/2009, 09:00 PM
Replies: 5
Views: 1,059
Posted By matrix_smq
Re: Funny error

Ok, my first post proved that i'm an idiot, i got it now, forgot the damn "}" thanks anyway
Forum: Help Archive 21/02/2009, 08:43 PM
Replies: 5
Views: 1,059
Posted By matrix_smq
Funny error

Don't ask what was the problem in the first place
if(strcmp(cmd, "/amega", true) == 0 || strcmp(cmd, "/amegaphone", true) == 0)
{
if(IsPlayerConnected(playerid))
{
...
Showing results 1 to 24 of 24

 

All times are GMT. The time now is 10:50 AM.


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