Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 146 online users. » 0 Member(s) | 143 Guest(s) Bing, Google, Applebot
|
Latest Threads |
Red County Roleplay | Med...
Forum: Advertisements
Last Post: TommyB
Today, 08:50 AM
» Replies: 0
» Views: 45
|
How to create a custom SA...
Forum: Tech
Last Post: S.S.
Yesterday, 07:46 PM
» Replies: 0
» Views: 20
|
Open Mp Server resartint ...
Forum: Support
Last Post: passedthedemon
2025-07-13, 10:16 PM
» Replies: 0
» Views: 37
|
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
2025-07-12, 09:17 PM
» Replies: 7
» Views: 8,608
|
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 74
|
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,372
|
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 173
|
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 52
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,747
|
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 74
|
|
|
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;
}
|
|
|
|