vampir_MD
-
Posts
443 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by vampir_MD
-
-
DA-ne naibii linia de unde sa stim noi?????????????????
Iaca linea 140 #define COL_CMD "{B8FF02}"
-
C:\Users\vampir\Desktop\server 3c\pawno\include\cps.inc(140) : warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
De la ce poate sa fiee ???
-
Am si eu o intrebare am un server si as dori sa stiu cum pot lua Masinile de vanzare si casele din Raven's si sa le pun pe serverul meu.
Utete aici e un Simple House System
[ftp=ftp://forum.sa-mp.com/showthread.php?t=23051]http://forum.sa-mp.com/showthread.php?t=23051[/ftp]
-
E greu de explicat trebue sa cauti un tutorial
-
Miam pus pe server comandu exitdm
si cind intu in dm si es din dm vreu sa dau teleport ex:/sf /ls imi scrie ca sa du iara /exitdm
new DMZone[MAX_PLAYERS];
public OnPlayerDisconnect(playerid, reason) DMZone[playerid] = 0;
public OnPlayerSpawn(playerid) DMZone[playerid] = 0;
public OnPlayerCommandText(playerid, cmdtext[]) lam pus inainte la un command if(DMZone[playerid]&& strcmp(cmdtext, "/exitdm", true) && strcmp(cmdtext, "/exitdm", true) != 0) return SendClientMessage(playerid,COLOR_WHITE,"You can't exit this DM!Use {FF0000}/exitdm");
Ma ajuta si pe mine cineva?
-
pune la inceputul comenzilor
if(DM[playerid]&& strcmp(cmdtext, "/exitm", true) && strcmp(cmdtext, "/exitdm", true) != 0) return SendClientMessage(playerid,COLOR_WHITE,"You can't exit this DM!Use {FF0000}/exitdm");
si in comanda /minigun puneDM[playerid] = 1;
ms
-
Cind ma duc la un dm ex:/minigun ca sa es din trinsu trebue sa dau /killl da nu vreu sa dau /kill vreu sa dau /exdm si sa ma scota afara din dm.
-
inca putin ajutor deci am scris plugins streamer am facut scriptul cu obiectele am pus createDynamicobjects apsolut tot am facut mai compilat totul si cand am pus scriptul nu mi la convertat pe server?Deci mia aprut acolo in consoo filt script script.amx dar cand mam dus in locul ala nu era nimic ma ajuta.
Ba depinde cite obiecte transformezi daca mai mult 500 de obiecte nu se vad ca am pati si eu asa si am sters tot si miam facut mapa dinou
-
OnPlayerKeyStateChange imi dadea eror ca erau 2 in sv lol de asta Ms frate ramin dator incodata ms
-
Am incercat sal defin da nu merge si fordwar lam incercat tot nimik new tot asa ce sa ffac
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7285) : error 021: symbol already defined: "OnPlayerKeyStateChange"
-
stuntman==--" post="36989" timestamp="1280600589"]
KEY_FIRE e click stanga
in loc de KEY_AIM pune KEY_FIRE, poate iti merge
uttete la eroor ce imi da
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7283) : error 021: symbol already defined: "OnPlayerKeyStateChange"
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7284) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7284) : warning 215: expression has no effect
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7284) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7284) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\??????? ????\server de hostat\gamemodes\DARCKSTUNT.pwn(7284) : fatal error 107: too many error messages on one line
-
Am pus tot asa mimi da ce sa ffac ??? ??? ??? ??? ??? ???
-
LaZ" post="36877" timestamp="1280520302"]
Ms Da imi da eroor de define KEY_AIM am incercat sal defin nimik tot asa
-
LaZ" post="36820" timestamp="1280491936"]
new Text: text22; public OnGameModeInit( ) { TextDrawCreate( text22, ..., ..., "..." ); } public OnPlayerCommandText( playerid, cmdtext[] ) { if ( strcmp( cmdtext, "/show", true, 5 ) == 0 ) { TextDrawShowForPlayer( playerid, text22 ); SetTimerEx( "HideDraw", (1000 * 10), false, "i", playerid ); SendClientMessage( playerid, -1, "TextDraw-ul se va ascunde in 10 secunde..." ); return true; } } forward HideDraw( playerid ); public HideDraw( playerid ) { TextDrawHideForPlayer( playerid, text22 ); ... return true; }
Aista merge msssssssssss ;D ;D
DA inca o intrebare cum sa fac ca sa despara cind apas clik sting pe scurtat LMB
-
Am si eu un textdraw care iti arata coman prin culori cred ca stit de care. Cind pun /cmds imi apare tot bn da cinds sa despara nu despare ce sa fac ajutatima mss
text22 = TextDrawCreate(7.000000, 136.000000, "~n~~w~/help [MESSAGE] /w /cw /pc~n~~w~/hit [iD] /hitlist /admins~n~~w~/report [iD] [REASON] /rules~n~~w~/animlist /househelp /GPS /i~n~~w~/blow /blowcar /buyc4 /givecash");
TextDrawAlignment(text22, 0);
TextDrawLetterSize(text22, 0.299999, 0.900000);
TextDrawColor(text22, 0xffff00ff);
TextDrawSetOutline(text22, 1);
TextDrawSetProportional(text22, 1);
TextDrawSetShadow(text22, 1);
text23 = TextDrawCreate(7.000000, 136.000000, "~n~~n~~n~~n~~n~~n~~n~~w~Use ~r~LMB ~w~To Hide~n~~w~Thes Boxes");
TextDrawAlignment(text23, 0);
TextDrawLetterSize(text23, 0.299999, 0.900000);
TextDrawColor(text23, 0xffff00ff);
TextDrawSetOutline(text23, 1);
TextDrawSetProportional(text23, 1);
TextDrawSetShadow(text23, 1);
CMDBOX = TextDrawCreate(5.000000, 120.000000, "~n~~n~");
TextDrawUseBox(CMDBOX, 1);
TextDrawBoxColor(CMDBOX, 0x000000cc);
TextDrawTextSize(CMDBOX, 180.000000, 250.000000);
TextDrawAlignment(CMDBOX, 0);
TextDrawBackgroundColor(CMDBOX, 0x000000ff);
TextDrawFont(CMDBOX, 3);
TextDrawLetterSize(CMDBOX, 1.700000, 5.699999);
TextDrawColor(CMDBOX, 0x000000ff);
TextDrawSetOutline(CMDBOX, 1);
TextDrawSetShadow(CMDBOX, 1);
TextDrawSetProportional(CMDBOX, 1);
}
forward HideDraw(playerid);
public HideDraw(playerid)
{
TextDrawHideForPlayer(playerid, text21);
TextDrawHideForPlayer(playerid, text22);
TextDrawHideForPlayer(playerid, text23);
TextDrawHideForPlayer(playerid, CMDBOX);
return 1;
}
Ajutatima ??? ??? ??? ??? ??? ??? ??? ???
-
Mah incearka aja:
if(strcmp(cmdtext, "/GangWars",true) == 0) { ShowMenuForPlayer(Food,playerid); TogglePlayerControllable(playerid, 0); SendClientMessage(playerid, 0xD7D700FF, "Alegeti Gang-ul "); return 1; } if(strcmp(cmdtext, "/ExitGang", true) == 0) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 28, 500); SetPlayerPos(playerid, 383.9547,2528.0894,16.4277); GangZoneDestroy(groove); GangZoneDestroy(ballas); GangZoneDestroy(vagos); GangZoneDestroy(swat); GangZoneDestroy(aztecas); SetPlayerSkin(playerid, skinid); SendClientMessage(playerid, yellow, "Ai iesit din zona de batalie Gang Wars"); SendClientMessage(playerid, red, "Pentru ati schimba skinul scrie /skin"); return 1; }
si la OnGameModeInit :Food = CreateMenu("GangWars", 1, 50.0, 180.0, 200.0, 200.0); AddMenuItem(Food, 0, "GrooveStreet"); AddMenuItem(Food, 0, "Ballas"); AddMenuItem(Food, 0, "Vagos"); AddMenuItem(Food, 0, "Swat"); AddMenuItem(Food, 0, "Aztecas"); AddMenuItem(Food, 0, "Exit"); Arme = CreateMenu("ARmE", 1,50.0, 180.0, 200.0, 200.0); AddMenuItem(Arme, 0, "aK-47 15.000$"); AddMenuItem(Arme, 0, "m4 17.000$"); AddMenuItem(Arme, 0, "uZi 5000$"); AddMenuItem(Arme, 0, "TeC9 5500$"); AddMenuItem(Arme, 0, "Sawn-off 10.000$"); AddMenuItem(Arme, 0, "PiStOl 2.000$"); AddMenuItem(Arme, 0, "BaseballBat 300$"); AddMenuItem(Arme, 0, "SniperRifle 7.000$"); AddMenuItem(Arme, 0, "Camera 500$"); AddMenuItem(Arme, 0, "Health+Armour 2.000$"); groove = GangZoneCreate(2150.834716, -1890.550659, 2614.834716, -1458.550659); ballas = GangZoneCreate(930.888183, -1397.631225, 1314.888183, -1045.631225); vagos = GangZoneCreate(2151.819824, -1302.064086, 2847.819824, -974.064086); swat = GangZoneCreate(1222.981811, -1875.536743, 1854.981811, -1483.536743); aztecas = GangZoneCreate(2351.109863, -2188.587402, 3055.109863, -1772.587280);
aJa pentru /arme:if(strcmp(cmdtext, "/arme",true)==0) { ShowMenuForPlayer(Arme,playerid); TogglePlayerControllable(playerid, 0); SendClientMessage(playerid, 0xD7D700FF, "Alege-ti ArMa "); return 1; }
Cam asta e ... simPlu(10 min sa faK FS)
Am o intrebare cum fac cind mor sa ma dae in gangu ista dinou ??? ??? ??? ???
-
Deci sa va explic Ati vazut ca la unele servere mapname se schimba pur si simplu sub ochii vostri si vrei sa afli cum? ??? aici e raspunsul:
#include <a_samp> forward SchimbaNumele(); public SchimbaNumele() { new rand=random(6); switch(rand) { case 0:SendRconCommand("mapname aici scrii"); case 1:SendRconCommand("mapname aici scrii"); case 2:SendRconCommand("mapname aici scrii"); case 3:SendRconCommand("mapname aici scrii"); case 4:SendRconCommand("mapname aici scrii"); case 5:SendRconCommand("mapname aici scrii"); } return 1; }
Ca sa setati timpul la care sa se schimbe trebuie sa adaugi la OnGameModeInit:SetTimer("SchimbaNumele",6000, true);
"6000" reprezinta dupa cat timp sa se schimbe 1 sec= 1000 puteti sa schimbati dupa bunul plac.
Daca aveti vreo problema postatio aici.
Tutoriale facut de :
Mercenar
Cu asisteta speciala Akord
Respect ba frate la sa tutorial ;)RESPECTTTT!!!!
Waring cps
in Arhivă probleme
Posted
Tot imi da waring