Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 390 online users. » 1 Member(s) | 387 Guest(s) Google, Bing, Alejandro Buck
|
Latest Threads |
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 41
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 38
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 57
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 465
|
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 56
|
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 74
|
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 64
|
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 467
|
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,503
|
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,926
|
|
|
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;
}
|
|
|
|