SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: Gryphus One
Forum: Discussion 29/07/2014, 11:45 PM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Gamemode Script Layout

By the way, is it possible for a variable to be both "static" and "stock" at the same time?
Forum: Discussion 13/03/2014, 12:19 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Gamemode Script Layout

I'm afraid my comment sounded as if I were asking for a Pawn upgrade when actually that wasn't my intention, I'm fine with our current Pawn version.
Forum: Discussion 12/03/2014, 02:53 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Gamemode Script Layout

Except folders, that's what I too do.



I have read the first article: well, it's obvious that abstractions can simplify things but cannot do miracles (like the examples of TCP when a snake...
Forum: Discussion 07/03/2014, 12:33 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Gamemode Script Layout

Try something like this:


#if defined _1pwn_included
#endinput
#endif
#define _1pwn_included

stock SPHHook(playerid, health) // Hooking SetPlayerHealth
{
Forum: Discussion 06/03/2014, 02:36 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Gamemode Script Layout

Maybe a solution could be to use custom functions to return those variables. Unlike variables, defines and enums, functions CAN be called before they are declared.

And I guess you meant 1.inc and...
Forum: Discussion 06/03/2014, 12:18 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Respuesta: Gamemode Script Layout

Actually my custom function 'OnVehicleSpawnLoop' won't be called 2k times but as many times as vehicles there are in the server, because the loop has in first place an 'if' conditional in which...
Forum: Discussion 05/03/2014, 01:05 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Gamemode Script Layout

Well even if we assume there's no limit in the number of simultaneous filterscripts, still one thing is testing and another thing is adding new features permanently: it's true that filterscripts have...
Forum: Discussion 04/03/2014, 12:31 AM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Gamemode Script Layout

The main problem I see with this is there's a limit in the number of filterscripts you can run at the same time.

By the way, Y_Less, there's something I want to know your opinion on: I too split...
Forum: Discussion 13/08/2012, 05:24 PM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Gamemode Script Layout

Ok thanks for all that information, you really saved my script from being a true memory guzzler.
Forum: Discussion 13/08/2012, 03:45 PM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Gamemode Script Layout

Hmm I'm getting lost. Those OnPlayerUpdate_1(playerid, x, y, z), OnPlayerUpdate_2(playerid, x, y, z) and OnPlayerUpdate_3(playerid, x, y, z) are hooked callbacks, or what are they?

In any case,...
Forum: Discussion 13/08/2012, 03:05 PM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Respuesta: Re: Gamemode Script Layout

And using this, would I have to create as many custom OnPlayerUpdate_ callbacks as custom functions I have that are called there?
Forum: Discussion 13/08/2012, 02:33 PM
Replies: 148
Views: 26,181
Posted By Gryphus One
Respuesta: Re: Gamemode Script Layout

Maybe it's because I'm a scripting beginner, but I don't understand the part that I highlighted in bold: how can variables and arrays change themselves?
This worries me because I'm trying to create...
Showing results 1 to 12 of 12

 

All times are GMT. The time now is 02:15 AM.


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