| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 321 online users. » 0 Member(s) | 318 Guest(s) Bing, Google, Yandex
|
| Latest Threads |
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
Yesterday, 10:35 AM
» Replies: 0
» Views: 29
|
Criando Server RP!
Forum: Portuguese/Português
Last Post: GhostSpectre
Yesterday, 01:37 AM
» Replies: 0
» Views: 35
|
Kalcor is still outta the...
Forum: Chat
Last Post: NoxxeR
2026-06-25, 07:57 PM
» Replies: 1
» Views: 146
|
Pedestrians
Forum: Plugins
Last Post: connyxv
2026-06-25, 08:52 AM
» Replies: 0
» Views: 107
|
SA-MP Bedwars (2026)
Forum: Advertisements
Last Post: Amjad
2026-06-23, 08:52 AM
» Replies: 0
» Views: 516
|
libsamp - samp.dll re-imp...
Forum: Programming
Last Post: Knogle
2026-06-22, 09:21 PM
» Replies: 0
» Views: 96
|
[Lançamento] Spawn — IDE ...
Forum: Portuguese/Português
Last Post: Daniil Korochansky
2026-06-22, 01:25 PM
» Replies: 0
» Views: 68
|
PawnPro 3.3.0 Released
Forum: Releases
Last Post: NullSablex
2026-06-21, 09:25 AM
» Replies: 0
» Views: 100
|
Introducing PST — A Commu...
Forum: Pawn Scripting
Last Post: Daniil Korochansky
2026-06-20, 04:14 PM
» Replies: 0
» Views: 100
|
FCNPC for open.mp - the c...
Forum: Plugins
Last Post: MauroRisi
2026-06-20, 12:28 AM
» Replies: 2
» Views: 265
|
|
|
| server launcher help |
|
Posted by: unbelievable_10 - 2019-07-09, 04:06 PM - Forum: Support
- Replies (3)
|
 |
i want to put in this code server password so when player connects through button that launcher (.exe) writes password for him
Code: [color=#000000][size=small] ? ? ? ?private void button1_Click(object sender, EventArgs e)
? ? ? ?{
? ? ? ? ? ?System.Diagnostics.Process.Start("samp://75.127.13.245:7780");
? ? ? ?}
[/size][/color]
|
|
|
|
| Better way of doing this ? |
|
Posted by: mouiz - 2019-07-07, 06:38 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Is there a better way of getting the size of an enum ?
Code: enum modes
{
? ??MODE_fgrs,
? ? MODE_gdsrg,
? ? MODE_lol,
? ? MODE_third
};
new Modes [modes];
new size = sizeof (Modes);
|
|
|
|
| How to solve this !? (Difficulty: Expert) |
|
Posted by: mouiz - 2019-07-07, 06:05 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
I want to clear all the elements of an enumerator in an automatic manner using a stock so i won't need to update this stock everytime i add a new variable/element to the enum. But there is a problem, it works only if there are integer variables in the enum.?How can i make it work which?arrays and integers both :
Code: enum player_data
{
? ? password [26],
? ? player_mode,
? ? spawned,
? ? kills,
? ? deaths
};
stock ClearPlayerData (playerid)
{
? ??for (new i = 0; i < sizeof (PlayerInfo []); i)
? ? {
? ? ? ? PlayerInfo [playerid][player_data : i] = 0;
? ? }
? ? return 1;
}
|
|
|
|
|