#include <a_samp>if(!strcmp(cmdtext, \"/minigun\", true)){ResetPlayerWeapons(playerid);DM[playerid] = 1;InMinigun[playerid] = 1;SetPlayerRandomSpawnMinigun(playerid);GivePlayerWeapon(playerid,38 , 9999);GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname); TextDrawDestroy(Text:Reclama); Reclama = TextDrawCreate(250.000000, 435.000000, \" \"); TextDrawFont(Reclama, 1); TextDrawLetterSize(Reclama, 0.300000, 1.000000); TextDrawColor(Reclama, 0x00C2ECFF); TextDrawSetOutline(Reclama, 1); TextDrawSetProportional(Reclama, 1); TextDrawSetShadow(Reclama, 1); TextDrawShowForAll(Reclama); TextDrawSetString(Reclama, string3); SetTimer(\"reclamatime\",10000,false);SetPlayerFacingAngle(playerid, 0.0);SetPlayerInterior(playerid, 0);SetPlayerWorldBounds(playerid, 1337, 1303.0999755859, 2166.3999023438, 10.699999809265);SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\");SendClientMessage(playerid,COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\");return 1;}
C:\\Users\\Hunor\\Desktop\\minigun.pwn(2) : error 010: invalid function or declarationC:\\Users\\Hunor\\Desktop\\minigun.pwn( : error 021: symbol already defined: \"GivePlayerWeapon\"C:\\Users\\Hunor\\Desktop\\minigun.pwn(28) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors.
public OnPlayerCommandText(playerid, cmdtext[]){if(!strcmp(cmdtext, \"/minigun\", true)){new pname[MAX_PLAYER_NAME], string3[128];DM[playerid] = 1;InMinigun[playerid] = 1;SetPlayerRandomSpawnMinigun(playerid);ResetPlayerWeapons(playerid);GivePlayerWeapon(playerid,38 , 9999);GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5);GetPlayerName(playerid, pname, sizeof (pname));format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname);SendClientMessage(playerid, COLOR_GREEN, string3);SetPlayerFacingAngle(playerid, 0.0);SetPlayerInterior(playerid, 0);SetPlayerWorldBounds(playerid, 1337, 1303.0999755859, 2166.3999023438, 10.699999809265);SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\");SendClientMessage(playerid, COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\");return 1;} return 0;}
C:\\Users\\Hunor\\Desktop\\minigun.pwn( : error 017: undefined symbol \"DM\"C:\\Users\\Hunor\\Desktop\\minigun.pwn( : warning 215: expression has no effectC:\\Users\\Hunor\\Desktop\\minigun.pwn( : error 001: expected token: \";\", but found \"]\"C:\\Users\\Hunor\\Desktop\\minigun.pwn( : error 029: invalid expression, assumed zeroC:\\Users\\Hunor\\Desktop\\minigun.pwn( : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
new DM[MAX_PLAYERS];new InMinigun[MAX_PLAYERS];
new DM[MAX_PLAYERS];
#include <a_samp>#define COLOR_GREEN 0x6AF7E1FFnew DM[MAX_PLAYERS];new InMinigun[MAX_PLAYERS];public OnPlayerCommandText(playerid, cmdtext[]){if(!strcmp(cmdtext, \"/minigun\", true)){new pname[MAX_PLAYER_NAME], string3[128];DM[playerid] = 1;InMinigun[playerid] = 1;SetPlayerRandomSpawnMinigun(playerid, 1337, 1303.0999755859, 2166.3999023438, 10.699999809265);ResetPlayerWeapons(playerid);GivePlayerWeapon(playerid,38 , 9999);GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5);GetPlayerName(playerid, pname, sizeof (pname));format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname);SendClientMessage(playerid, COLOR_GREEN, string3);SetPlayerFacingAngle(playerid, 0.0);SetPlayerInterior(playerid, 0);SetPlayerWorldBounds(playerid, 1337, 1303.0999755859, 2166.3999023438, 10.699999809265);SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\");SendClientMessage(playerid, COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\");return 1;} return 0;}
:\\Users\\Hunor\\Desktop\\minigun.pwn(14) : error 017: undefined symbol \"SetPlayerRandomSpawnMinigun\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
#include <a_samp>#define COLOR_GREEN 0x6AF7E1FFnew DM[MAX_PLAYERS];new InMinigun[MAX_PLAYERS];public OnPlayerCommandText(playerid, cmdtext[]){ if(!strcmp(cmdtext, \"/minigun\", true)) { new pname[MAX_PLAYER_NAME], string3[128]; DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname); SendClientMessage(playerid, COLOR_GREEN, string3); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\"); SendClientMessage(playerid, COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\"); return 1; } return 0;}
format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname);
format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN (/minigun)\", pname);
#include <a_samp> #define COLOR_GREEN 0x6AF7E1FF new DM[MAX_PLAYERS]; new InMinigun[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, \"/minigun\", true)) { new pname[MAX_PLAYER_NAME], string3[128]; DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname); SendClientMessage(playerid, COLOR_GREEN, string3); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\"); SendClientMessage(playerid, COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\"); return 1; } return 0; }
#include <a_samp> #define COLOR_GREEN 0x6AF7E1FF new DM[MAX_PLAYERS]; new InMinigun[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, \"/minigun\", true)) { new pname[MAX_PLAYER_NAME], string3[128]; DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,\"~r~~h~WeLcOmE To MiNiGuN\",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),\"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~\", pname); SendClientMessage(playerid, COLOR_GREEN, string3); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, 0x6AF7E1FF, \" If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!\"); SendClientMessage(playerid, COLOR_GREEN, \"If you want to get out of DM use the command /exitdm!\"); return 1; } if(!strcmp(cmdtext, \"/exit\", true)) { SendClientMessage(playerid, -1, \"Kiléptél a Minigun DM -bõl!\"); InMinigun[playerid] = 0; DM[playerid] = 0; ResetPlayerWeapons(playerid); return 1; } return 0; }public OnPlayerSpawn( playerid){if( InMinigun[playerid] == 1 ){ResetPlayerWeapons(playerid);SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265);GivePlayerWeapon(playerid,38 , 9999);}return 1;}