Jump to content
  • 0

iar problema la gamemode off ma diospera :))


damarius

Question

am facut tot toate bune si frumoase si am facut o comanda cand sa compilez 26 erori cand scot comanda tot 26 eori uitati erorile ceva daca stiti ce sa fac ca ma dispera nush oare e de la pawno

C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(232) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(236) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(238) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(242) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(244) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(246) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(250) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(271) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(273) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(277) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(282) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(286) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(287) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(289) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(293) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(297) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(299) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(302) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(304) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(306) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(308) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(312) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(315) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(319) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(322) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(324) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

deci astea sunt linile

#include <a_samp>
#pragma tabsize 0

forward OnPlayerPrivmsg();

#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_ULTRARED 0xE60000FF
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define ADMIN_RED 0xFB0000FF
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define PocketMoney 50000 // Amount player recieves on spawn.
#define INACTIVE_PLAYER_ID 255
#define GIVECASH_DELAY 5000 // Time in ms between /givecash commands.
#define Vehicle_Dialog 16


new Text:Nume[MAX_PLAYERS];
new Text:DownBar;

// Powerd by deLUX Map Converter
main()
{
	print("\n----------------------------------");
	print(" Romania Stunt Official");
	print("    By [GM]damarius");
	print("----------------------------------\n");
}
public OnGameModeInit()
{

DownBar = TextDrawCreate(-3.000000, 433.000000, "            /HELP         /CMDS        /TELES       /RULES");
	TextDrawBackgroundColor(DownBar, -16776961);
	TextDrawFont(DownBar, 3);
	TextDrawLetterSize(DownBar, 0.529999, 1.399999);
	TextDrawColor(DownBar, -65281);
	TextDrawSetOutline(DownBar, 1);
	TextDrawSetProportional(DownBar, 1);

	// My favourite character 
	AddPlayerClass(105,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
    AddPlayerClass(105,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(106,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(107,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(108,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(109,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(111,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(0,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(114,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(115,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(116,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(137,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(157,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(158,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	AddPlayerClass(159,2119.0869,-2616.2554,13.5469,358.1704,5,1,46,1,0,0); //
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 2193.1243,-2324.0867,43.9261);
	SetPlayerFacingAngle(playerid, 314.0555);
	SetPlayerCameraPos(playerid, 2194.7441,-2322.5422,43.9261);
	SetPlayerCameraLookAt(playerid, 2193.0043,-2324.2867,43.9261);
	SetPlayerPos(playerid, 1477.1437,-2410.3237,52.6302);
	SetPlayerFacingAngle(playerid, 309.0874);
	SetPlayerCameraPos(playerid, 1479.2456,-2408.4324,53.8625);
	SetPlayerCameraLookAt(playerid, 1477.1437,-2410.3237,52.5302);
	PlayerPlaySound(playerid,1097 ,0, 0, 0);
    ApplyAnimation(playerid,"DANCING","DANS",4.0,1,0,0,0,-1);

	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
 PlayerPlaySound(playerid,1186 ,0, 0, 0);

	return 1;
}

public OnPlayerConnect(playerid)
{

new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid]= TextDrawCreate(28.000000,428.000000,pnamee);
TextDrawAlignment(Nume[playerid],0);
TextDrawBackgroundColor(Nume[playerid],0xffffffff);
TextDrawFont(Nume[playerid],1);
TextDrawLetterSize(Nume[playerid],0.799999,1.200000);
TextDrawColor(Nume[playerid],0xFFFF00AA);
TextDrawSetOutline(Nume[playerid],1);
TextDrawSetProportional(Nume[playerid],1);
TextDrawSetShadow(Nume[playerid],1);
TextDrawShowForPlayer(playerid,Nume[playerid]);
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/omoarate", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		return 1;
	}
	if (strcmp("/Fumeaza", cmdtext, true, 10) == 0)
{
	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY);
	SendClientMessage(playerid,COLOR_WHITE,"Smoke da' bom bom baby!");
	SendClientMessage(playerid,COLOR_YELLOW,"TIP: Apasati F sau Enter pentru a scapa de tigara");
	return 1;
}
if (strcmp("/sprunk", cmdtext, true, 10) == 0)
{
	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_SPRUNK);
	SendClientMessage(playerid,COLOR_WHITE,"Kill punk with sprunk!");
	SendClientMessage(playerid,COLOR_YELLOW,"TIP: Apasati F sau Enter pentru a scapa de sprunk");
	return 1;
}
if (strcmp("/infernus", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = vehicleid = CreateVehicle(411,X,Y,Z,Angle,-1,-1,600);
PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
if (strcmp("/elegy", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(562,X,Y,Z,Angle,-1,-1,600);
vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
if (strcmp("/nrg", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(522,X,Y,Z,Angle,-1,-1,600);
vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
if (strcmp("/banshee", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(429,X,Y,Z,Angle,-1,-1,600);
PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
if (strcmp("/phoenix", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(603,X,Y,Z,Angle,-1,-1,600);
PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
if (strcmp("/turismo", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(451,X,Y,Z,Angle,-1,-1,600);
PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
new vehicleid=GetPlayerVehicleID(playerid);
RepairVehicle(vehicleid);
SendClientMessage(playerid,COLOR_GREEN,"Vehicul dvs. a fost reparat!");
return 1;
}
	if (strcmp("/viata", cmdtext, true, 10) == 0)
 SendClientMessage(playerid, 0xFFFF00AA,"Ti-ai Dat Viata");
	{
		SetPlayerHealth(playerid, 100);
		return 1;
	}
    if (strcmp("/Ajutor", cmdtext, true, 10) == 0)
	{
        SendClientMessage(playerid, 0xFFFF00AA, "_________________________Ajutor________________________");
        
		SendClientMessage(playerid, 0xFFFF00AA, "Foloseste comanda /comenzi pentru a vedea comenzile servarului");
		SendClientMessage(playerid, 0xFFFF00AA, "Va multumim ca ati citit");
		return 1;
	}
	if (strcmp("/Comenzi", cmdtext, true, 10) == 0)
      {
		SendClientMessage(playerid, 0xFFFF00AA, "__________________Comenzi_________________________");

		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /zi  -Daca scri /zi se va face zi pe server!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /hydraulice  -Pentru ati adauga hydraulice!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /ploie  -Daca scri /ploaie va ploua pe server!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /senin  -Daca scri /senin va fi senin pe server!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /bani  -Daca scri /bani vei primi o suma de 900$!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /flip -Casa iti intorci masina/avionul/barca!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /noapte -Daca scri /noapte se va face noapte pe server!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /inchide  -Daca scri /inchide vei inchuia masina!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /deschide -Daca scri /deschide vei descuia masina!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /Arme -Daca scri /Arme vei primi primul set de arme!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /Arme2 -Daca scri /Arme2 vei primi al doilea set de arme!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /Teles -Pentru a vedea teleportarile servarului!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /para Si vei primi o parasuta!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /omoarate si vei muri!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /credits pentru a vedea cine a creat servarul!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /Animatii pentru a vedea animetile servarului!");
		SendClientMessage(playerid, 0xFFFF00AA, "Scrie: /viata pentru ati da viata adica(heal)");
		SendClientMessage(playerid, 0xFFFF00AA, "Va multumim ca vati uitat la Comenzile servarului!");
		SendClientMessage(playerid, 0xFFFF00AA, "Culori: /albastru /negru /rosu /gri /galben /alb /purpuriu /maro /verde");
		SendClientMessage(playerid, 0xFFFF00AA, "        /roz /lamai /portocaliu /albastrudeschis /violet");
		SendClientMessage(playerid, 0xFFFF00AA, "Masini:/Infernus /turinsmo /phonex /banshee /nrg /elegy ");
		return 1;
	}
if (strcmp("/Teles", cmdtext, true, 10) == 0)
	{
		SendClientMessage(playerid, 0x33AA33AA, "__________________Teles_________________________");

		SendClientMessage(playerid, 0x33AA33AA, "Stunt:/aa /sfair /lsair /lvair /grove");
		SendClientMessage(playerid, 0x33AA33AA, "Distracti:/ReslingCar /sf /lv /ls");
		SendClientMessage(playerid, 0x33AA33AA, "DM:O sa facem si DM");
		SendClientMessage(playerid, 0x33AA33AA, "Parkour:/Grove");
		SendClientMessage(playerid, 0x33AA33AA, "Va multumim ca vati uitat la teleportarile servarului");
		return 1;
		}
		SendClientMessage(playerid, 0x33AA33AA, "__________________Animatii_________________________");

		SendClientMessage(playerid, 0x33AA33AA, " /bea /piss /Fumeaza /sprunk
		return 1;
		}
if (strcmp("/Credits", cmdtext, true, 10) == 0)
	{
		SendClientMessage(playerid, 0xAA3333AA, "__________________Credite_________________________");

		SendClientMessage(playerid, 0xAA3333AA, "Gamemod: [GM]damarius");
		SendClientMessage(playerid, 0xAA3333AA, "Scripting: [GM]damarius");
		SendClientMessage(playerid, 0xAA3333AA, "Stunting: [GM]damarius");
		SendClientMessage(playerid, 0xAA3333AA, "Va multumim ca vati uitat la Creditele servarului");
		return 1;
		}
        if (strcmp("/zi", cmdtext, true, 6) == 0)
    {
    SetPlayerTime(playerid,13,0);
    return 1;
    }
    if(strcmp(cmdtext, "/hydraulice", true) == 0)
	    {
	    if(IsPlayerConnected(playerid))
	    {
				if(IsPlayerInAnyVehicle(playerid))
				{
   					AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
					GameTextForPlayer(playerid, "~Y~ ai adaugat hydraulice", 3000, 0);
			   	 	return 1;
				}
		}
		if(strcmp(cmdtext, "/bani", true) == 0)
        {
        GivePlayerMoney(playerid, 900);
        GameTextForPlayer(playerid, "~b~ai primit 900$", 3000, 0);
		return 1;
		}
    SetPlayerTime(playerid,0,0);
    return 1;
    }
if (strcmp("/Inchide", cmdtext, true, 10) == 0)
	{
		if (GetPlayerState(playerid) == 2)
		{
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
		    	if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
			}
			PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, COLOR_YELLOW, "Tiai inchuiat masina.");
		}
		else
		{
		SendClientMessage(playerid, COLOR_RED, "Do not drive a vehicle.");
		}
		return 1;
	}
	if (strcmp("/deschide", cmdtext, true, 10) == 0)
	{
		if (GetPlayerState(playerid) == 2)
		{
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
		    	if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
			}
			PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, COLOR_YELLOW, "Tiai deschis masina.");
		}
		else
		{
		SendClientMessage(playerid, COLOR_RED, "Do not drive a vehicle.");
		}
		return 1;
	}
	if (strcmp(cmdtext, "/para", true)==0)
	{
		GivePlayerWeapon(playerid, 46, 1);
		return 1;
	}
	if (strcmp(cmdtext, "/bea", true) == 0 )
	{
    SetPlayerSpecialAction(playerid,20);
    SendClientMessage(playerid, COLOR_WHITE,"Bea , bea si iar bea ... vezi sa nu cunva sa uiti sa conduci masinile./beeroff pentru a opri.(enter)");
	return 1;
	}
	if(strcmp(cmdtext, "/Arme", true)==0)
	{
		GivePlayerWeapon(playerid, 24, 14);
		GivePlayerWeapon(playerid, 25, 15);
		GivePlayerWeapon(playerid, 29, 60);
		GivePlayerWeapon(playerid, 31, 100);
		GivePlayerWeapon(playerid, 34, 5);
		GivePlayerWeapon(playerid, 46, 1);
		SetPlayerHealth(playerid,100);
		SetPlayerArmour(playerid,100);
		GivePlayerMoney(playerid, -300000);
        SendClientMessage(playerid,COLOR_GREEN, " Ai primit un set de arme!");
  return 1;
  }
      if(strcmp(cmdtext, "/Arme2", true)==0)
	{
		GivePlayerWeapon(playerid, 24, 14);
		GivePlayerWeapon(playerid, 25, 15);
		GivePlayerWeapon(playerid, 29, 60);
		GivePlayerWeapon(playerid, 31, 100);
		GivePlayerWeapon(playerid, 34, 5);
		GivePlayerWeapon(playerid, 46, 1);
		SetPlayerHealth(playerid,100);
		SetPlayerArmour(playerid,100);
		GivePlayerMoney(playerid, -300000);
        SendClientMessage(playerid,COLOR_GREEN, " Ai primit al doilea set de arme!");
  return 1;
  }
  if(strcmp(cmdtext, "/piss", true) == 0)
	{
	    if(IsPlayerInAnyVehicle(playerid))
		{
		SendClientMessage(playerid,COLOR_RED,"Nu te poti pisa din masina(Nesimtitule))!");
		}
		else
		{
		SendClientMessage(playerid,COLOR_YELLOW,"Ahhh .. Ce bine eee ..");
		SetPlayerSpecialAction(playerid, 68);
		return 1;
	}
}
if (strcmp(cmdtext, "/flip", true)==0)
   		{
   		new VehicleID, Float:X, Float:Y, Float:Z;
     	GetPlayerPos(playerid, X, Y, Z);
      	VehicleID = GetPlayerVehicleID(playerid);
       	SetVehiclePos(VehicleID, X, Y, Z);
        SetVehicleZAngle(VehicleID, 0);
        SendClientMessage(playerid, 0x33FF33AA, "Vehicul intors!");
        return 1;
        }

	//culori pentru playeri
	if(strcmp("/rosu", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_RED);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/albastru", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_BLUE);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/gri", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_GREY);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/verde", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_GREEN);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/galben", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_YELLOW);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/alb", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_WHITE);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/purpuriu", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/maro", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/portocaliu", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_ORANGE);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/roz", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/lamai", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, COLOR_LIME);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/negru", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
         return 1;
     }

        if(strcmp("/albastrudeschis", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, 0x33CCFFAA,"Ti-ai schimbat culoarea");
         return 1;
     }


        if(strcmp("/violet", cmdtext, true, 10) == 0)
     {
         SetPlayerColor(playerid, 0x33CCFFAA);
         SendClientMessage(playerid, 0x33CCFFAA,"Ti-ai schimbat culoarea");
         return 1;
     }
return 0;
}
si astea erorile
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(164) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(175) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(186) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(197) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(208) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(219) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(232) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(236) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(238) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(242) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(244) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(246) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(250) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(271) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(273) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(277) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(282) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(286) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(287) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(289) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(293) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(297) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(299) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(302) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(304) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(306) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(308) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(312) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(315) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(319) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(322) : error 010: invalid function or declaration
C:\Documents and Settings\damaris\Desktop\samp server de la 0\gamemodes\RO2010.pwn(324) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By TheGodfather
      Salut, am un gamemode in limba romana si as vrea sa ii fac o versiune in limba engleza. Care e cea mai eficienta metoda pentru asta? Multumesc anticipat
    • By D3m0n1K
      Buna Ziua
      Cumpar GM Samp ce trebuie sa detina : Baza de Date Stabila, doresc un mod asemanator B-Hood cu buguri rezolvate in proportie de 90%, cu posibilitatea de a ridica nr playeri la 1000 slot, tutorialul de inceput 5/5 step sa fie functional alte adaugari, nu am modul de joc se va negocia, doresc sa anunt ca o sa folosim intermediar.
    • By KenSon ADV
      UserName: KenSon Nume Gamemode: HPQ B-HOOD Creator/editor: Edison, Skillz, HPQ123, KenSon Link Poze: https://imgur.com/a/KjFLKZJ Virustotal: https://www.virustotal.com/gui/file/843a2068a94b3efe1d28fb2d7e89583f830f321feed76d5bce3358f0b3ee1fe8/detection Download: https://drive.google.com/file/d/1M4C607rE2BxBegkbjUhPG8zrdtxKWkaW/view?usp=sharing Alte Precizari: 
      1. Aveti de mutat crates ( nu mai am mapping).
      2. Aveti foarte multe chestii in + pe langa poze.
      3. Aveti spawn frumos cu mapping.
      4. Foarte multe chestii modificate.
      Succes cu gm.
    • By AlexRap
      Am hotarat ca gamemode ul sa l postez eu decat sa se bage keyloggere prin el sau alte chestii aveti un link de la vanzare cu poze detalii si update uri iar in gm aveti o lista cu ce trebuie facut si n am avut eu timp : 
      Primesc mesaje de la copii de 12 ani cu nu stiu ce ca posteaza ei gm u sa va vad ce mai postati acum luati l si spalati va cu el pe cap.
      Mai bine il postez eu decat sa l posteze toti "bombardierii" de 12 ani.
       
      Si oficial m am retras din scripting pentru ca nu se mai merita si in al doilea rand sunt numai copii si nici samp ul nu mai e ce a fost.
      Va tuca rap <3.
       
      Poze aveti aici sunt putin mai vechi: https://imgur.com/a/VOMeqpe
      Link download: https://www106.zippyshare.com/v/1Wiu4u4j/file.html
    • By AndreiiGL
      Salut, caut un gamemode Godfather gen GFzone, quitzone, t4p ( 2013-2014), daca are cineva as aprecia.
       
      Daca are cineva oferte contra cost le astept.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.