- 0
GameMod...Nu merge.
-
Similar Content
-
- 66 replies
- 7.579 views
-
- 0 replies
- 294 views
-
- 7 replies
- 1.083 views
-
teapa de 50 euro saracie GAMEMODE RPG.RED-ZONE.RO (NEW FEATURE 2024) 1 2
By HPQ123,
- hpq forever
- dev
- (and 2 more)
- 35 replies
- 14.233 views
-
- 4 replies
- 501 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
TheHbK2310
Am incercat sa-mi fac singur un gamemod,dar de cate ori pornesc serverul imi da urmatoarea eroare:
Poza:
Sursa:
#include <a_samp> #define COLOR_RED 0xAA3333AA #define COLOR_GREEN 0x33AA33AA ///////////////////////////////////////////////////////////////////// public OnFilterScriptInit() { print("\n--------------------------------------"); print(" TheHbK2310 Script is ON"); print("--------------------------------------\n"); return 1; } ///////////////////////////////////////////////////////////////////// public OnPlayerSpawn(playerid) { new PlayerName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "%s has spawned.", PlayerName); SendClientMessageToAll(COLOR_GREEN, string); return 1; } ///////////////////////////////////////////////////////////////////// public OnGameModeInit( ) { // Add a Hydra to the game with a respawn time of 60 seconds CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60); print("HbK2310 Mod Started!"); return 1; } ///////////////////////////////////////////////////////////////////// public OnPlayerConnect(playerid) { new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,"%s has joined the server. Welcome!",pName); SendClientMessageToAll(COLOR_RED,string); return 1; } ///////////////////////////////////////////////////////////////////// public OnPlayerDisconnect(playerid, reason) { new string[64], name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); switch(reason) { case 0: format(string,sizeof string,"%s left the server. (Timed out)",name); case 1: format(string,sizeof string,"%s left the server. (Leaving)",name); case 2: format(string,sizeof string,"%s left the server. (Kicked/Banned)",name); } SendClientMessageToAll(COLOR_RED,string); return 1; } ///////////////////////////////////////////////////////////////////// public OnVehicleSpawn(vehicleid) { printf("Vehicle %i spawned!",vehicleid); return 1; } ///////////////////////////////////////////////////////////////////// public OnGameModeExit() { print("Gamemode ended."); return 1; } ///////////////////////////////////////////////////////////////////// public OnFilterScriptExit() { print("\n--------------------------------------"); print(" My script Unloaded"); print("--------------------------------------\n"); return 1; }10 answers to this question
Recommended Posts