MaFia_Eugen
-
Posts
65 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by MaFia_Eugen
-
-
Pai asa imi da aceleasi erori !
-
Eroare nu mai apare dar cand deschid sampserver: run time error 17 invalid/unsupported p-code file format
Si amx are 0kb . Dece ???
-
Gireada nu prea am inteles nimic dar cred ca o sa ma descurc !!Mersi pentru link-uri !
-
Am facut ce a spus Gireada si am pus exact inainte de linia 1357 [pawn]Found=1;
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
DetachTrailerFromVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid,0xFFFF00AA,"Ai deatasat masina");
}else
{
new VehicleNames[212][] = {{"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},{"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},{"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},{"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},{"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},{"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},{"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},{"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},{"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},{"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},{"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},{"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},{"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},{"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},{"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},{"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},{"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},{"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},{"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},{"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},{"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},{"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},{"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},{"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},{"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},{"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},{"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},{"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},{"Utility Trailer"}};
AttachTrailerToVehicle(vid,GetPlayerVehicleID(playerid));
format(string, sizeof(string), "Acum tu tractezi cu un %s",VehicleName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
SendClientMessageToAll(0xFFFF00AA, string);[/pawn]Mersi Gireada
-
Nu mai ajutat cu nimic eu as vrea prin comanda /scar1 sa vina acea masina cu modificarile acelea adica sa se duca la acel player (playerid)
-
De mult timp cautam un FS ca acesta !Mersi mult !!5/5
-
Foarte bun/folositor 5/5 !!
-
Deci am facut acest FS [pawn]#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
new TunInfernus = CreateObject(1171, 0.04, 2.60, -0.33, 0.00, 0.00, 0.00);
new TunInfernus2 = CreateObject(1192, -0.05, -2.69, -0.31, 0.00, 0.00, 0.00);
new TunInfernus3 = CreateObject(1142, -0.02, 2.01, 0.11, -7.00, 0.00, 0.00);
new TunInfernus4 = CreateObject(1135, -0.31, -1.61, -0.50, 0.00, 0.00, 0.00);
new TunInfernus5 = CreateObject(1111, -0.01, 2.65, -0.06, 0.00, 0.00, 0.00);
new TunInfernus6 = CreateObject(1013, 0.00, 2.55, -0.09, 68.00, 0.00, 0.00);
new TunInfernus7 = CreateObject(1004, 0.01, 2.02, 0.08, 0.00, 0.00, 0.00);
new TunInfernus8 = CreateObject(18646, -0.51, 0.21, 0.71, 0.00, 0.00, 0.00);
new TunInfernus9 = CreateObject(2985, 0.72, 1.51, -0.56, 0.00, 0.00, 91.14);
new TunInfernus10 = CreateObject(2985, -0.74, 1.39, -0.56, 0.00, 0.00, 91.14);
new infernus = AddStaticVehiclesEX(411, 0.0000, 0.0000, 0.0000, 0.0000, -1, -1, 100);
AttachObjectToVehicle (TunInfernus, infernus 0.0379, 2.6025, -0.3303, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus2, infernus -0.0723, -2.7041, -0.3146, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus3, infernus -0.0191, 2.0144, 0.1056, -7.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus4, infernus -0.3053, -1.6082, -0.5038, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus5, infernus -0.0128, 2.6529, -0.0604, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus6, infernus 0.0033, 2.5503, -0.0850, 68.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus7, infernus 0.0099, 2.0230, 0.0833, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus8, infernus -0.5061, 0.2074, 0.7062, 0.0000, 0.0000, 0.0000)
AttachObjectToVehicle (TunInfernus9, infernus 0.7222, 1.5138, -0.5562, 0.0000, 0.0000, 91.1400)
AttachObjectToVehicle (TunInfernus10, infernus -0.7352, 1.3948, -0.5562, 0.0000, 0.0000, 91.1400)
}
public OnFilterScriptExit()
{
return 1;
}
#endif[/pawn]Cum as putea sa fac pe o anume comanda sa respawnez masina la player(anume comanda insemnand de explu /smasina)
Bine inteles si sa fie mai multe masini daca se poate ;)
-
Wow!! Foarte tare gireada tino tot asa :cool:
-
Bravo
-
Deci am facut niste modificari la gm si am zis sa compilez si mia dat erorile astea [pawn]C:\Documents and Settings\Owner\Desktop\RO.pwn(445) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Owner\Desktop\RO.pwn(469) : error 010: invalid function or declaration
C:\Documents and Settings\Owner\Desktop\RO.pwn(1357) : error 017: undefined symbol "VehicleName"
C:\Documents and Settings\Owner\Desktop\RO.pwn(1357) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\RO.pwn(1357) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Owner\Desktop\RO.pwn(1357) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\RO.pwn(1357) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
[/pawn]Ce as putea face ?
-
Deci am compilat si mia dat asta [pawn]Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 14368 bytes
Code size: 2496992 bytes
Data size: 4861224 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 7388968 bytes
[/pawn]
Ce inseamna afecteaza cu ceva ?
-
:smiley:foarte amuzant tu nu intelegi ca eu am JunkBusted2 in include !!Si imi da eroarea asta vrei sa iti dau JunkBusted2 ??Il pot pune undeva la download
-
Ba deci am pawno (folderul)si acolo e include (folderul) si am pus in el JunckBusted2 (Defapt il aveam )
-
Foarte bun tutorialu asta dar nu pot scrie pe orce ?
-
Da ma stiu dar tot asta imi da de ce ?
-
Lam bagat si tot nu merge lafel (Ce as mai putea face ?
-
[pawn]C:\Documents and Settings\Owner\Desktop\gf.pwn(19) : fatal error 100: cannot read from file: "JunkBuster2"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/pawn]Asta e erorea la gm meu
si acesta este linia
[pawn]#include <JunkBuster2>[/pawn]
-
Pai acel priten care mi la dat a zis ca pune o poza pe sv ca un textdraw !
-
Am un FS de la un prieten si mia dat erorile astea [pawn]C:\DOCUME~1\Owner\Desktop\SERVER~1\HIGHGA~1.5\pawno\include\TDINC.inc(1) : error 010: invalid function or declaration
C:\Documents and Settings\Owner\Desktop\Servere samp\HighGameZone v2.5\filterscripts\TDTEST.pwn(39) : error 017: undefined symbol "CreateTextDrawPhoto"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
[/pawn]
Acesta este FS [pawn]// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#include <TDINC>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by JohnasHex");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by JohnasHex");
print("----------------------------------\n");
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/showmytd", cmdtext, true, 10) == 0)
{
CreateTextDrawPhoto(playerid,"http://s8.postimage.org/qykucwkid/hasss.png");
return 1;
}
return 0;
}
[/pawn]
-
C:\Documents and Settings\Owner\Desktop\Servere samp\Server filmari\gamemodes\bare.pwn(57) : warning 201: redefinition of constant/macro (symbol "R")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
[pawn] #define R "{A10000}"[/pawn] astai linia 57
-
Deci vreau sa ma apuc de un GM
Acesta este inceputul [pawn]/*______________________________________________________________________________*/
#include " a_samp "
#include " zcmd "
#include " dini "
#include " sscanf2 "
#include " bdial "
#include " mSelection "
#define SPECIAL_ACTION_PISSING 68
#define DIALOG_ANIMS 1
#define ammo 2
#define W "{FFFFFF}"
#define R "{FF0000}"
#define O "{FF8000}"
#define SCM SendClientMessage
#define SCMToAll SendClientMessageToAll
#define GMT GameTextForPlayer
stock S_T_R[4500];
#pragma tabsize 0
main ( ) { }[/pawn]
Si as vrea sa bag acest FS in el ce ar trebui sa fac ?
[pawn]/*
*-----------------------------------------*
* TexTDraw by DeNyzZ *
* Contact:[email protected] *
* Please do not remove credits *
*-----------------------------------------*
*/
#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
public OnFilterScriptInit()
{
Textdraw0 = TextDrawCreate(507.000000, 417.000000, "QWorld");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.579999, 2.500000);
TextDrawColor(Textdraw0, -65281);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(500.000000, 432.000000, "+=========+");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.240000, 2.000000);
TextDrawColor(Textdraw1, -16776961);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
Textdraw2 = TextDrawCreate(500.000000, 407.000000, "+=========+");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 2);
TextDrawLetterSize(Textdraw2, 0.240000, 2.000000);
TextDrawColor(Textdraw2, -16776961);
TextDrawSetOutline(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);
Textdraw3 = TextDrawCreate(501.000000, 421.000000, "|");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 2);
TextDrawLetterSize(Textdraw3, 0.240000, 2.000000);
TextDrawColor(Textdraw3, -16776961);
TextDrawSetOutline(Textdraw3, 1);
TextDrawSetProportional(Textdraw3, 1);
Textdraw4 = TextDrawCreate(577.000000, 421.000000, "|");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 2);
TextDrawLetterSize(Textdraw4, 0.240000, 2.000000);
TextDrawColor(Textdraw4, -16776961);
TextDrawSetOutline(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);
Textdraw5 = TextDrawCreate(568.000000, 419.000000, "[]");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 0);
TextDrawLetterSize(Textdraw5, 0.540000, 2.000000);
TextDrawColor(Textdraw5, -65281);
TextDrawSetOutline(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 1);
Textdraw6 = TextDrawCreate(465.000000, 419.000000, "[]");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 0);
TextDrawLetterSize(Textdraw6, 0.540000, 2.000000);
TextDrawColor(Textdraw6, -65281);
TextDrawSetOutline(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);
Textdraw7 = TextDrawCreate(522.000000, 407.000000, "==");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 2);
TextDrawLetterSize(Textdraw7, 0.240000, 2.000000);
TextDrawColor(Textdraw7, -65281);
TextDrawSetOutline(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 1);
Textdraw8 = TextDrawCreate(545.000000, 407.000000, "==");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 2);
TextDrawLetterSize(Textdraw8, 0.240000, 2.000000);
TextDrawColor(Textdraw8, -65281);
TextDrawSetOutline(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);
Textdraw9 = TextDrawCreate(522.000000, 432.000000, "==");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 2);
TextDrawLetterSize(Textdraw9, 0.240000, 2.000000);
TextDrawColor(Textdraw9, -65281);
TextDrawSetOutline(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 1);
Textdraw10 = TextDrawCreate(545.000000, 432.000000, "==");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 2);
TextDrawLetterSize(Textdraw10, 0.240000, 2.000000);
TextDrawColor(Textdraw10, -65281);
TextDrawSetOutline(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
TextDrawShowForPlayer(i, Textdraw2);
TextDrawShowForPlayer(i, Textdraw3);
TextDrawShowForPlayer(i, Textdraw4);
TextDrawShowForPlayer(i, Textdraw5);
TextDrawShowForPlayer(i, Textdraw6);
TextDrawShowForPlayer(i, Textdraw7);
TextDrawShowForPlayer(i, Textdraw8);
TextDrawShowForPlayer(i, Textdraw9);
TextDrawShowForPlayer(i, Textdraw10);
}
}
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2);
TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw8);
TextDrawDestroy(Textdraw8);
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
TextDrawHideForAll(Textdraw10);
TextDrawDestroy(Textdraw10);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
return 1;
}[/pawn]
-
Multumesc ai +1 respect
-
imi da run time error 20 invalid index parameter (bad entry point)
am si eu acest gm [pawn]/*______________________________________________________________________________*/
#include " a_samp "
#include " zcmd "
#include " dini "
#include " sscanf2 "
#include " bdial "
#include " mSelection "
#define SPECIAL_ACTION_PISSING 68
#define DIALOG_ANIMS 1
#define ammo 2
#define W "{FFFFFF}"
#define R "{FF0000}"
#define O "{FF8000}"
#define SCM SendClientMessage
#define SCMToAll SendClientMessageToAll
#define GMT GameTextForPlayer
stock S_T_R[4500];
#pragma tabsize 0
[/pawn]
(Vreau sa fac un gm de la inceput si asta e luata din alt gm
Rezolvat ! Rog TC
in Arhivă probleme
Posted
Rezolvat !!Rog pe cineva sa sterga sau sa de a TC