#include <a_samp>
#include <foreach>
/* This is a comment
*/#define Hello/* This means allo */
forward Blah();
// HEllo
if(Hi) {
// do shiet here
}else{
// do shiet here
}
#if defined FILTERSCRIPT
public OnFilterScriptInit() {
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit() {
return 1;
}
#else
main() {
new car[2];
new car[(2*sizeof(MAX_PLAYERS+MAX_PLAYER_NAME)];
new
car[2]
;
newcar;
print("\n----------------------------------");
print(' Blank Gamemode by your name here');
print("----------------------------------\n");
enumifelsewhileforcontinuebreak
}
#endif
#define SendClientMessage(%1) \
SCM(%1)
forward Test();
public Test()
{
new testvar, array[128];
if(!testvar) testvar = 1;
else testvar ++;
format(array, sizeof(array), "The testvar is %i", testvar);
SendClientMessage(playerid, 0xFFFFFFFF, array);
return 1;
}
public OnGameModeInit() return Test();
// Test
#include <a_samp>
#include <foreach>
/* This is a comment
*/#define Hell/* This means allo */
forward Blah();
// HEllo
if(Hi) {
// do shiet here
}else{
// do shiet here
}
#if defined FILTERSCRIPT
public OnFilterScriptInit() {
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit() {
return 1;
}
#else
main() {
new car[2];
new car[(2*sizeof(MAX_PLAYERS+MAX_PLAYER_NAME)];
new
car[2]
;
newcar;
print("\n----------------------------------");
print(' Blank Gamemode by your name here');
print("----------------------------------\n");
enumifelsewhileforcontinuebreak
}
#endif
#define SendClientMessage(%1) \
SCM(%1)
forward Test();
public Test()
{
new testvar, array[128];
if(!testvar) testvar = 1;
else testvar ++;
format(array, sizeof(array), "The testvar is %i", testvar);
SendClientMessage(playerid, 0xFFFFFFFF, array);
return 1;
}
public OnGameModeInit() return Test();
// Test
|
Have you even tried to compile that code? It surely doesn't compile for me... Jk, but you should really put a working example #yolo
|
#include <a_samp>
#include <foreach>
/* This is a comment
*/#define Hello/* This means allo */
forward Blah();
// HEllo
if(Hi) {
// do shiet here
}else{
// do shiet here
}
#if defined FILTERSCRIPT
public OnFilterScriptInit() {
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit() {
return 1;
}
#else
main() {
new car[2];
new car[(2*sizeof(MAX_PLAYERS+MAX_PLAYER_NAME)];
new
car[2]
;
newcar;
print("\n----------------------------------");
print(' Blank Gamemode by your name here');
print("----------------------------------\n");
enumifelsewhileforcontinuebreak
}
#endif
#define SendClientMessage(%1) \
SCM(%1)
forward Test();
public Test()
{
new testvar, array[128];
if(!testvar) testvar = 1;
else testvar ++;
format(array, sizeof(array), "The testvar is %i", testvar);
SendClientMessage(playerid, 0xFFFFFFFF, array);
return 1;
}
public OnGameModeInit() return Test();
// Test
|
Some number aren't highlighted! Still missing a few keywords too.
|
|
The example you use does not work! It doesn't really matter that much; but it's kinda annoying to look at:
[code] Code:
#include <a_samp>
#include <foreach>
/* This is a comment
*/#define Hello/* This means allo */
forward Blah();
// HEllo
if(Hi) {
// do shiet here
}else{
// do shiet here
}
#if defined FILTERSCRIPT
public OnFilterScriptInit() {
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit() {
return 1;
}
#else
main() {
new car[2];
new car[(2*sizeof(MAX_PLAYERS+MAX_PLAYER_NAME)];
new
car[2]
;
newcar;
print("\n----------------------------------");
print(' Blank Gamemode by your name here');
print("----------------------------------\n");
enumifelsewhileforcontinuebreak
}
#endif
#define SendClientMessage(%1) \
SCM(%1)
forward Test();
public Test()
{
new testvar, array[128];
if(!testvar) testvar = 1;
else testvar ++;
format(array, sizeof(array), "The testvar is %i", testvar);
SendClientMessage(playerid, 0xFFFFFFFF, array);
return 1;
}
public OnGameModeInit() return Test();
// Test
|
new Duck.uou[(14)*(strlen("duck"\man"\"))];
|
new Duck.uou[(14)*(strlen("duck"\man"\"))] |
|
Code:
new Duck.uou[(14)*(strlen("duck"\man"\"))];
Look^^ |