SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: HyperZ
Forum: Everything and Nothing 31/05/2020, 02:23 PM
Replies: 107
Views: 20,641
Posted By HyperZ
Re: Still playing samp?

No, just browsing forums :)
Forum: Everything and Nothing 24/04/2015, 04:26 PM
Replies: 24
Views: 2,454
Posted By HyperZ
Forum: News and Updates 18/01/2015, 02:37 PM
Replies: 815
Views: 269,198
Posted By HyperZ
Forum: Everything and Nothing 29/12/2014, 06:45 PM
Replies: 60
Views: 4,298
Posted By HyperZ
Forum: Includes 16/12/2014, 01:18 PM
Replies: 9
Views: 3,748
Posted By HyperZ
Forum: Everything and Nothing 09/10/2014, 01:22 PM
Replies: 11
Views: 1,265
Posted By HyperZ
Forum: General 06/10/2014, 05:54 PM
Replies: 20
Views: 3,313
Posted By HyperZ
Forum: Scripting Help 05/10/2014, 12:55 PM
Replies: 3
Views: 574
Posted By HyperZ
Re: I have problems about MySQL Function

OMG Double post! Remove this please!
Forum: Scripting Help 05/10/2014, 12:51 PM
Replies: 3
Views: 574
Posted By HyperZ
Re: I have problems about MySQL Function

The character(gm_uccisioni) is an integer, isn't it? And you're printing it as a string.
Forum: Scripting Help 05/10/2014, 12:21 PM
Replies: 21
Views: 2,596
Posted By HyperZ
Re: How to load stuff from mysql using a loop, to load alot of stuff at once

You forgot about counting the rows that were found in the table.

Check this tutorial: http://forum.sa-mp.com/showthread.php?t=505081
Forum: Scripting Help 05/10/2014, 12:08 PM
Replies: 21
Views: 2,596
Posted By HyperZ
Re: How to load stuff from mysql using a loop, to load alot of stuff at once

Try something like this:
forward OnVehicleLoad();
public OnVehicleLoad()
{
for(new i, j = cache_get_row_count(g_Read); i < j; i++) // loop through all the rows that were found
{
...
Forum: Everything and Nothing 23/09/2014, 06:16 PM
Replies: 4,274
Views: 804,198
Posted By HyperZ
Re: Pictures/videos topic

wat lady
http://i.imgur.com/P0E3dGc.jpg
Forum: Server Support 22/07/2014, 06:28 PM
Replies: 4
Views: 529
Posted By HyperZ
Re: Problems loading plugins in VPS

Install Microsoft .NET Framework 4.0 or higher.
Forum: Scripting Help 16/07/2014, 06:21 PM
Replies: 2
Views: 305
Posted By HyperZ
Re: Need help

ZCMD 'blocks' the OnPlayerCommandText callback, you won't be able to use it anymore if you use ZCMD, so either choose strcmp or ZCMD. ZCMD is MUCH faster than strcmp, You could convert your commands...
Forum: Everything and Nothing 16/07/2014, 06:16 PM
Replies: 13
Views: 1,008
Posted By HyperZ
Re: Hi Everyone !

Welcome! :)
Forum: Everything and Nothing 29/06/2014, 03:45 PM
Replies: 38
Views: 3,045
Posted By HyperZ
Forum: Scripting Help 05/06/2014, 05:23 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

You were using Ban() (http://wiki.sa-mp.com/wiki/Ban), that's what you call it RCON ban which is now removed from your command/code.

Please check this post, it's edited...
Forum: Scripting Help 05/06/2014, 05:12 AM
Replies: 7
Views: 1,182
Posted By HyperZ
Re: TEXTDRAW TIMER?

Use this, it will show textdraws and sets a timer, you could use it on OnPlayerConnect for example.

TextDrawShowForPlayer(playerid,ConnectTextdraw1);...
Forum: Scripting Help 05/06/2014, 05:09 AM
Replies: 7
Views: 1,182
Posted By HyperZ
Re: TEXTDRAW TIMER?

Use SetTimerEx.
http://wiki.sa-mp.com/wiki/SetTimerEx
Forum: Scripting Help 05/06/2014, 05:00 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

Not really, but it's possible to disable RCON use from in-game, using this snippet:

public OnRconLoginAttempt(ip[], password[], success)
{
new gzIP[16];
for(new i; i <...
Forum: Scripting Help 05/06/2014, 04:49 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

Your code is fixed, means now it will ban the targeted player. Check my previous post again.

You could unban yourself from rcon remote console.
Forum: Scripting Help 05/06/2014, 04:38 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

Here is your fixed code, and i removed some useless, or unneeded vars. Now your ban system is script sided.
CMD:ban(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return...
Forum: Scripting Help 05/06/2014, 04:34 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

You were using "playerid" as targeted playerid, that's why you got banned instead of the targeted player.

It should be:
Ban(playerb);
Instead of:
Ban(playerid);

Could you tell show me...
Forum: Scripting Help 05/06/2014, 04:32 AM
Replies: 16
Views: 996
Posted By HyperZ
Forum: Scripting Help 05/06/2014, 04:29 AM
Replies: 16
Views: 996
Posted By HyperZ
Re: ID Bug Again.

CMD:ban(playerid, params[])
{
new playerb, ip;
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:01 AM.


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