Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - GoldTec

Oldalak: 1 ... 4 5 [6] 7 8 ... 18
76
Segítségkérés / Adminrendszer nem menti el a felhasználók pénzét?
« Dátum: 2016. június 05. - 17:44:53 »
Erről az oldalról töltöttem le egy adminrendszert. Elvileg minden jó mégsem jó semmi. Valamiért nem menti el a felhasználók pénzét. Folyamatosan 0-n van. Itt a kódja:


Most néztem, hogy egyik LAdmin sem menti el a pénzt. Lehet valami script vagy valami ilyesmi miatt?

77
Segítségkérés / Symbol is already defined
« Dátum: 2016. június 03. - 22:02:30 »
Korábban már próbálkoztam ott, de nem kaptam választ :)

78
Segítségkérés / Carspawner járművek respawnolása
« Dátum: 2016. június 03. - 19:09:24 »
Azt szeretném elérni, ha jármű respawnoláskor csak a használaton kívűli járművek tűnnének el, de akárhogy próbálkozom a kóddal, mindig eltűnnek azok is amikben ülnek. A kód:
#include <a_samp>
#pragma unused strtok
#define GELTONA 0xFFFF00FF
#define BALTA 0xFFFFFFFF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xED0321AA
#define COLOR_BLUE 0x0000FFAA
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, \"\")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
 
new SpawnedVehicles[MAX_PLAYERS];
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\"}
};
forward VehicleOccupied(vehicleid);
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(v,1,cmdtext);
dcmd(respawncars,11,cmdtext);
return 0;
}
dcmd_v(playerid, params[])
{
new Index;
    new tmp[256];  tmp  = strtok(params,Index);
new tmp2[256]; tmp2 = strtok(params,Index);
new tmp3[256]; tmp3 = strtok(params,Index);
    if(!strlen(tmp)) return
SendClientMessage(playerid, COLOR_RED, \"Használat: /v [modelid/járműnév] [szín1] [szín2]\");
new car;
new string[128];
new colour1, colour2;
         if(!IsNumeric(tmp))
    car = GetVehicleModelIDFromName(tmp);
        else car = strval(tmp);
if(car < 400 || car > 611) return  SendClientMessage(playerid, BALTA, \"Hiba: Nincs ilyen jármű!\");
if(!strlen(tmp2)) colour1 = random(126); else colour1 = strval(tmp2);
if(!strlen(tmp3)) colour2 = random(126); else colour2 = strval(tmp3);
        if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
new Float:X,Float:Y,Float:Z;
new Float:Angle,int1;
new LVehicleID = GetPlayerVehicleID(playerid);
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
int1 = GetPlayerInterior(playerid);
SpawnedVehicles[playerid] = CreateVehicle(car, X+3,Y,Z, Angle, colour1, colour2, -1);
LinkVehicleToInterior(LVehicleID,int1);
PlayerPlaySound(playerid,1085,0,0,0);
PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
format(string, sizeof(string), \"Jármű lerakva! Név: %s | (Model ID: %d) | Szín1: %d, Szín2: %d\", VehicleNames[car-400], car, colour1, colour2);
return SendClientMessage(playerid,COLOR_ORANGE,string);
}
dcmd_respawncars(playerid,params[]){
#pragma unused params
SendClientMessageToAll(COLOR_BLUE, \"Járművek admin által respawnolva. Használaton kívűl lévő járművek törölve.\");
for(new cars=0; cars<MAX_VEHICLES; cars++)
{
if(!VehicleOccupied(cars))
{
    DestroyVehicle(SpawnedVehicles[playerid]);
   SetVehicleToRespawn(cars);
}else IsPlayerInVehicle(GET_MAX_PLAYER, 1);
}
return 1;
}
public OnPlayerDisconnect(playerid)
{
DestroyVehicle(SpawnedVehicles[playerid]);
    SpawnedVehicles[playerid] = 0;
    return 0;
}
GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
if ( strfind(VehicleNames, vname, true) != -1 )
return i + 400;
}
return -1;
}
stock IsNumeric(string[])
{
for (new i = 0, j = strlen(string);
i < j; i++)
{
if (string > \'9\' || string < \'0\')
return 0;
}
return 1;
}
 
public VehicleOccupied(vehicleid)
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInVehicle(i,vehicleid)) return 1;
}
return 0;
}
#pragma unused strtok
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= \' \'))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

  A segítséget előre is köszi :)

79
Segítségkérés / Symbol is already defined
« Dátum: 2016. június 03. - 17:14:09 »
Valamiért ha fejreállok sem tudom megoldani, hogy működjön és hogy ne is írjon ki hibát.
 
#include <a_samp>
#include <IsPlayerLAdmin>
#pragma unused strtok
#define GELTONA 0xFFFF00FF
#define BALTA 0xFFFFFFFF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xED0321AA
#define COLOR_BLUE 0x0000FFAA
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, \"\")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
 
new SpawnedVehicles[MAX_PLAYERS];
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\"}
};
forward VehicleOccupied(vehicleid);
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(v,1,cmdtext);
dcmd(respawncars,11,cmdtext);
return 0;
}
dcmd_v(playerid, params[])
{
new Index;
    new tmp[256];  tmp  = strtok(params,Index);
new tmp2[256]; tmp2 = strtok(params,Index);
new tmp3[256]; tmp3 = strtok(params,Index);
    if(!strlen(tmp)) return
SendClientMessage(playerid, COLOR_RED, \"Használat: /v [modelid/járműnév] [szín1] [szín2]\");
new car;
new string[128];
new colour1, colour2;
         if(!IsNumeric(tmp))
    car = GetVehicleModelIDFromName(tmp);
        else car = strval(tmp);
if(car < 400 || car > 611) return  SendClientMessage(playerid, BALTA, \"Hiba: Nincs ilyen jármű!\");
if(!strlen(tmp2)) colour1 = random(126); else colour1 = strval(tmp2);
if(!strlen(tmp3)) colour2 = random(126); else colour2 = strval(tmp3);
        if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
new Float:X,Float:Y,Float:Z;
new Float:Angle,int1;
new LVehicleID = GetPlayerVehicleID(playerid);
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
int1 = GetPlayerInterior(playerid);
SpawnedVehicles[playerid] = CreateVehicle(car, X+3,Y,Z, Angle, colour1, colour2, -1);
LinkVehicleToInterior(LVehicleID,int1);
PlayerPlaySound(playerid,1085,0,0,0);
PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
format(string, sizeof(string), \"Jármű lerakva! Név: %s | (Model ID: %d) | Szín1: %d, Szín2: %d\", VehicleNames[car-400], car, colour1, colour2);
return SendClientMessage(playerid,COLOR_ORANGE,string);
}
dcmd_respawncars(playerid,params[]){
#pragma unused params
if (IsPlayerAdminLevel(playerid,2))
SendClientMessageToAll(COLOR_BLUE, \"Járművek admin által respawnolva. Használaton kívűl lévő járművek törölve.\");
for(new cars=0; cars<MAX_VEHICLES; cars++)
{
if(!VehicleOccupied(cars))
{
    DestroyVehicle(SpawnedVehicles[playerid]);
          SpawnedVehicles[playerid] = 0;
   SetVehicleToRespawn(cars);
}
}
return 1;
}
public OnPlayerDisconnect(playerid)
{
DestroyVehicle(SpawnedVehicles[playerid]);
    SpawnedVehicles[playerid] = 0;
    return 0;
}
GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
if ( strfind(VehicleNames, vname, true) != -1 )
return i + 400;
}
return -1;
}
stock IsNumeric(string[])
{
for (new i = 0, j = strlen(string);
i < j; i++)
{
if (string > \'9\' || string < \'0\')
return 0;
}
return 1;
}
 
public VehicleOccupied(vehicleid)
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInVehicle(i,vehicleid)) return 1;
}
return 0;
}
#pragma unused strtok
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= \' \'))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

 
Valaki tud segíteni?

Dupla hozzászólás automatikusan összefûzve. ( 2016. június 03. - 17:14:45 )

Ja és ezt írja: error 021: symbol already defined: \"strtok\"
Csak egyszer van definiálva

80
Segítségkérés / Adminskin hiba?
« Dátum: 2016. június 03. - 15:14:33 »
Köszi :D

81
Segítségkérés / Adminskin hiba?
« Dátum: 2016. június 03. - 14:38:40 »
A problémám az, hogy van egy adminskin kódom viszont akármelyik skint próbálom kiválasztani akár admin vagyok akár nem mindegyikre azt írja, hogy csak adminok használhatják. Még arra is ami nincs felsorolva. A segítséget előre is köszönöm :)
 
public OnPlayerRequestSpawn(playerid)
{
if(skin[playerid] == 36 || 37 || 38 || 39 || 40)
{
    if(IsPlayerAdmin (playerid))
    {
    SendClientMessage (playerid, COLOR_YELLOW, \"Sikeresen beléptél az adminskinbe!\");
    return 1;
    }
    else
    {
    SendClientMessage (playerid, COLOR_RED, \"SZERVER: Hiba! Ezt a skin-t csak adminok használhatják!\");
    GameTextForPlayer (playerid, \"~r~ Ezt a skin-t csak adminok használhatják!\", 2000,3);
    return 0;
    }
}
return

 

Dupla hozzászólás automatikusan összefûzve. ( 2016. június 03. - 14:52:02 )

Ja, hogyha csak 1 skin id van felsorolva, akkor tökéletesen működik...

82
Segítségkérés / Változók probléma
« Dátum: 2016. június 03. - 12:37:41 »
köszi :)

Dupla hozzászólás automatikusan összefûzve. ( [time]2016. június 03. 12:39:38[/time] )

\\gamemodes\\game.pwn(626) : error 003: declaration of a local variable must appear in a compound block
game.pwn(626) : error 010: invalid function or declaration
game.pwn(628) : error 010: invalid function or declaration
gamemodes\\game.pwn(632) : error 010: invalid function or declaration

Dupla hozzászólás automatikusan összefûzve. ( [time]2016. június 03. 12:41:11[/time] )

egyébkéntr nem látom hol hagytam volna ki vesszőt :D

Dupla hozzászólás automatikusan összefûzve. ( 2016. június 03. - 12:43:02 )

már megvan :DDD csak kihagytam ezt a jelet: { nem tudom minek hívják hivatalosan én csak kapocsnak ismerem :D

83
Segítségkérés / Változók probléma
« Dátum: 2016. június 02. - 20:42:04 »
szerver\\filterscripts\\GTscript.pwn(70) : error 017: undefined symbol \"Health\"
szerver\\filterscripts\\GTscript.pwn(71) : error 017: undefined symbol \"Health\"
szerver\\filterscripts\\GTscript.pwn(73) : error 001: expected token: \";\", but found \"return\"
ezeket írja :D

84
Segítségkérés / Változók probléma
« Dátum: 2016. június 02. - 20:32:39 »
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
GetPlayerHealth(playerid,Health);
if (Health > 50.0)
SetPlayerHealth (playerid, 100)
return 1;
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Blank Filterscript by your name here\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print(\"\\n----------------------------------\");
print(\" Blank Gamemode by your name here\");
print(\"----------------------------------\\n\");
}
#endif
 
public OnGameModeInit()
{
// Don\'t use these lines if it\'s a filterscript
SetGameModeText(\"GT Script\");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(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(\"/mycommand\", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

85
Segítségkérés / Változók probléma
« Dátum: 2016. június 02. - 19:42:24 »
Sziasztok! Lényegében próbálkoztam egy olyan kis script-el, ami ha a HP-d 20 alá csökken, akkor autómatikusan 100-ra tölti. Akárhogy bűvészkedtem a változókkal vagy hibát írt a pawno, vagy csak nem működött. Valaki tud segíteni?

Dupla hozzászólás automatikusan összefûzve. ( 2016. június 02. - 20:25:10 )

Egyenlőre ezt írtama defined filterscript alá:
GetPlayerHealth(playerid,Health);
if (Health > 50.0)
SetPlayerHealth (playerid, 100)
return 1;

 
De nem működik :(

86
Fórumi közlemények / RusH. lemondása
« Dátum: 2015. november 25. - 18:02:58 »
Én még friss vagyok és nem túl sokat fórumogattam, de enegem is moderáltál :) Köszönjük munkádat és sok sikert a továbbiakban és drukkolok a vizsgáidhoz :)

87
Segítségkérés / Streamer probléma
« Dátum: 2015. november 23. - 18:48:47 »
oké köszi :)
az ystreamer és a streamer megférnek egymás mellett?

Dupla hozzászólás automatikusan összefûzve. ( [time]2015. november 23. 18:50:05[/time] )

még mindig nem  működik :( mármint hogy a gamemode fele kikapcsol

Dupla hozzászólás automatikusan összefûzve. ( 2015. november 24. - 15:39:25 )

Na már megoldottam, hogy a Gamemode ne kapcsoljon ki, de a mapok nem jelennek meg. Valaki ötletek?

88
Segítségkérés / Streamer probléma
« Dátum: 2015. november 23. - 18:29:20 »
Mindegyik CreateObject-en van.
Meg egy ilyen érdekes kódom van: Ezt itt a fórumon találtam a parlament:
   new material0 = CreateObject(10377, -2774.41089, -142.88516, 24.22770,   0.00000, 0.00000, 180.00000);
SetObjectMaterial(material0, 1, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material1 = CreateObject(19377, -2793.79883, -103.68490, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material1, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material2 = CreateObject(19377, -2793.81006, -113.18590, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material2, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material3 = CreateObject(19377, -2793.80127, -122.81600, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material3, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material4 = CreateObject(19377, -2793.66895, -132.39729, 22.05130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material4, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material5 = CreateObject(19377, -2799.06470, -84.70530, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material5, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material6 = CreateObject(19377, -2794.39722, -98.95950, 6.40330,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material6, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material7 = CreateObject(19377, -2794.39722, -98.95947, 16.82830,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material7, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material8 = CreateObject(19377, -2793.81274, -142.02977, 22.05130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material8, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material9 = CreateObject(19377, -2793.81274, -142.02977, 22.05130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material9, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material10 = CreateObject(19377, -2793.82544, -151.61290, 22.05130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material10, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material11 = CreateObject(19377, -2793.71411, -161.24460, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material11, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material12 = CreateObject(19377, -2793.83789, -170.86189, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material12, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material13 = CreateObject(19377, -2793.83301, -180.53439, 16.30930,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material13, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material14 = CreateObject(19377, -2794.39624, -185.44478, 10.99030,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material14, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material15 = CreateObject(19377, -2778.87817, -93.38880, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material15, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material16 = CreateObject(19377, -2778.88623, -102.93291, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material16, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material17 = CreateObject(19377, -2778.91382, -112.41644, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material17, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material18 = CreateObject(19377, -2774.04980, -88.55571, 37.26130,   0.00000, 0.00000, 90.06000);
SetObjectMaterial(material18, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material19 = CreateObject(19377, -2764.41699, -88.54041, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material19, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material20 = CreateObject(19377, -2759.68164, -93.36839, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material20, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material21 = CreateObject(19377, -2759.58423, -102.94596, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material21, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material22 = CreateObject(19377, -2759.52002, -112.43948, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material22, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material23 = CreateObject(19377, -2764.34131, -117.08921, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material23, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material24 = CreateObject(19377, -2773.95410, -117.08674, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material24, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material25 = CreateObject(19377, -2773.73730, -93.34087, 42.43030,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material25, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material26 = CreateObject(19377, -2773.73340, -102.90502, 42.43030,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material26, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material27 = CreateObject(19377, -2773.76050, -112.44501, 42.43030,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material27, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material28 = CreateObject(19377, -2764.72949, -112.36610, 42.42830,   0.00000, 90.00000, -0.06000);
SetObjectMaterial(material28, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material29 = CreateObject(19377, -2764.83228, -93.32231, 42.42830,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material29, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material30 = CreateObject(19377, -2774.12695, -193.63869, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material30, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material31 = CreateObject(19377, -2764.53809, -193.61284, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material31, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material32 = CreateObject(19377, -2778.86938, -188.73204, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material32, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material33 = CreateObject(19377, -2778.92847, -179.14407, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material33, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material34 = CreateObject(19377, -2778.91699, -169.61763, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material34, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material35 = CreateObject(19377, -2774.16675, -164.86841, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material35, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material36 = CreateObject(19377, -2774.16675, -164.86841, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material36, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material37 = CreateObject(19377, -2764.59839, -164.83600, 37.26130,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material37, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material38 = CreateObject(19377, -2759.86377, -169.68770, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material38, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material39 = CreateObject(19377, -2759.80322, -179.29211, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material39, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material40 = CreateObject(19377, -2759.73755, -188.71213, 37.26130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material40, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material41 = CreateObject(19377, -2764.96387, -188.81770, 42.43130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material41, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material42 = CreateObject(19377, -2773.69092, -188.85182, 42.43330,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material42, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material43 = CreateObject(19377, -2773.66968, -179.24431, 42.43330,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material43, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material44 = CreateObject(19377, -2773.71143, -169.67427, 42.43330,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material44, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material45 = CreateObject(19377, -2764.93359, -179.26167, 42.43130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material45, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material46 = CreateObject(19377, -2764.94336, -169.71283, 42.43130,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material46, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material47 = CreateObject(19377, -2799.08960, -94.23367, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material47, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material48 = CreateObject(19377, -2799.12549, -103.81567, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material48, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material49 = CreateObject(19377, -2799.16382, -113.42029, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material49, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material50 = CreateObject(19377, -2799.14551, -122.94440, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material50, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material51 = CreateObject(19377, -2799.15039, -132.49037, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material51, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material52 = CreateObject(19377, -2799.13257, -142.07570, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material52, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material53 = CreateObject(19377, -2799.15381, -151.64175, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material53, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material54 = CreateObject(19377, -2799.13501, -161.22644, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material54, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material55 = CreateObject(19377, -2799.11768, -170.79314, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material55, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material56 = CreateObject(19377, -2799.13916, -180.35733, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material56, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material57 = CreateObject(19377, -2799.14209, -189.90273, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material57, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material58 = CreateObject(19377, -2799.11987, -195.78485, 27.07130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material58, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material59 = CreateObject(19377, -2799.06470, -84.70530, 16.76130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material59, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material60 = CreateObject(19377, -2799.08960, -94.23370, 16.76130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material60, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material61 = CreateObject(19377, -2799.06470, -84.70530, 6.25530,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material61, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material62 = CreateObject(19377, -2799.08960, -94.23370, 6.25530,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material62, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material63 = CreateObject(19377, -2799.12549, -103.81570, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material63, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material64 = CreateObject(19377, -2799.16382, -113.42030, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material64, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material65 = CreateObject(19377, -2799.14551, -122.94440, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material65, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material66 = CreateObject(19377, -2799.07642, -163.90605, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material66, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material67 = CreateObject(19377, -2799.11768, -170.79311, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material67, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material68 = CreateObject(19377, -2799.13916, -180.35730, 21.50930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material68, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material69 = CreateObject(19377, -2799.14209, -189.90269, 16.56530,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material69, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material70 = CreateObject(19377, -2799.11987, -195.78490, 16.56530,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material70, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material71 = CreateObject(19377, -2799.14209, -189.90269, 6.05930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material71, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material72 = CreateObject(19377, -2799.11987, -195.78490, 6.05930,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material72, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material73 = CreateObject(19377, -2788.78784, -159.34970, 11.41530,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material73, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material74 = CreateObject(19377, -2789.19873, -153.90372, 18.00730,   0.00000, -1.54160, 90.00000);
SetObjectMaterial(material74,  0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material741 = CreateObject(19377, -2789.00635, -133.21709, 18.00730,   0.00000, 1.54160, 90.00000);
SetObjectMaterial(material741, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material742 = CreateObject(19377, -2789.22241, -127.54654, 11.20930,   0.00000, -1.73430, 90.00000);
SetObjectMaterial(material742,  0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material75 = CreateObject(19377, -2737.00269, -97.71313, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material75, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material76 = CreateObject(19377, -2737.01196, -107.04802, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material76, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material77 = CreateObject(19377, -2737.03540, -119.55817, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material77, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material78 = CreateObject(19377, -2736.99121, -128.86403, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material78, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material79 = CreateObject(19377, -2737.06323, -142.31961, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material79, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material80 = CreateObject(19377, -2737.14209, -151.65663, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material80, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material81 = CreateObject(19377, -2737.13428, -165.69707, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material81, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material82 = CreateObject(8397, -2796.48926, -130.51590, -7.78400,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material82, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material83 = CreateObject(8397, -2796.39746, -156.60217, -7.78400,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material83, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material84 = CreateObject(8397, -2769.54614, -142.75497, 8.42388,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material84, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material85 = CreateObject(8397, -2777.39136, -166.70970, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material85, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material86 = CreateObject(8397, -2761.71826, -166.61934, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material86, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material87 = CreateObject(8397, -2761.66162, -192.19037, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material87, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material88 = CreateObject(8397, -2776.94434, -191.84691, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material88, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material89 = CreateObject(8397, -2777.19531, -116.82413, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material89, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material90 = CreateObject(8397, -2777.19531, -116.82413, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material90, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material91 = CreateObject(8397, -2777.37085, -89.20980, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material91, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material92 = CreateObject(8397, -2761.47095, -89.91325, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material92, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material93 = CreateObject(8397, -2760.98267, -117.12206, -5.00000,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material93, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material94 = CreateObject(8131, -2795.20068, -143.51456, 32.94510,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material94, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material95 = CreateObject(8131, -2795.45313, -149.98596, 32.94510,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material95, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material96 = CreateObject(8131, -2795.00806, -137.04504, 32.94510,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material96, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
CreateObject(8131, -2795.86108, -121.37810, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.72290, -111.82900, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.06177, -100.81303, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.92163, -92.73495, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.95532, -83.57870, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2794.81787, -197.32016, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2794.96509, -191.35841, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.01807, -183.23230, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.06982, -175.00191, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(8131, -2795.37939, -165.48390, 29.46510,   0.00000, 0.00000, 0.00000);
CreateObject(19545, -2722.78271, -169.96100, 4.69540,   0.00000, 11.26460, 0.00000);
CreateObject(19545, -2722.86572, -111.34825, 4.69540,   0.00000, 11.26460, 0.00000);
CreateObject(19545, -2737.61157, -169.38011, 6.15540,   0.00000, 0.00000, 0.00000);
CreateObject(19545, -2737.69263, -111.37950, 6.15340,   0.00000, 0.00000, 0.00000);
CreateObject(3499, -2798.26611, -176.33295, 11.02200,   0.00000, 0.00000, 0.00000);
CreateObject(7592, -2716.03442, -126.35153, 3.89680,   0.00000, 0.00000, 0.00000);
CreateObject(7592, -2716.07837, -154.24561, 3.89280,   0.00000, 0.00000, 0.00000);
CreateObject(3660, -2736.02246, -80.74843, 8.37800,   0.00000, 7.44000, 0.00000);
CreateObject(3660, -2725.20801, -80.73580, 6.68200,   0.00000, 6.17150, 0.00000);
CreateObject(3660, -2733.10815, -199.28690, 8.37800,   0.00000, 7.44000, 0.00000);
CreateObject(3660, -2725.32251, -199.25308, 6.68200,   0.00000, 6.17150, 0.00000);
CreateObject(673, -2719.15088, -110.90501, 3.00000,   3.14159, 0.00000, 2.19039);
CreateObject(673, -2720.47192, -139.79298, 3.00000,   3.14159, 0.00000, 2.19039);
CreateObject(673, -2720.49805, -160.48521, 3.00000,   3.14159, 0.00000, 2.19039);
CreateObject(673, -2721.08496, -184.29678, 3.00000,   3.14159, 0.00000, 2.19039);
CreateObject(737, -2731.56323, -149.85060, 6.38870,   3.14160, 0.00000, 1.57080);
CreateObject(737, -2730.80420, -170.35300, 6.38870,   3.14160, 0.00000, 1.57080);
CreateObject(737, -2731.41016, -193.39824, 6.38870,   3.14160, 0.00000, 1.57080);
CreateObject(737, -2731.29883, -125.53719, 6.38870,   3.14160, 0.00000, 1.57080);
CreateObject(737, -2731.27295, -97.61109, 6.38870,   3.14160, 0.00000, 1.57080);
new material97 = CreateObject(19449, -2799.14819, -87.24479, 27.09290,   0.00000, 0.00000, 0.00000);//ablakok
SetObjectMaterial(material97, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material98 = CreateObject(19449, -2799.14819, -87.24480, 23.65390,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material98, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material99 = CreateObject(19449, -2799.14819, -87.24480, 16.77590,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material99, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material100 = CreateObject(19449, -2799.14819, -87.24480, 13.33690,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material100, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material101 = CreateObject(19449, -2799.16772, -100.17520, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material101, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material102 = CreateObject(19449, -2799.16772, -100.17522, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material102, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material103 = CreateObject(19449, -2799.18823, -100.15443, 23.65390,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material103, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material104 = CreateObject(19449, -2799.24487, -114.09390, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material104, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material105 = CreateObject(19449, -2799.24487, -114.09386, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material105, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material106 = CreateObject(19449, -2799.24341, -114.11380, 23.65390,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material106, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material1066 = CreateObject(19449, -2799.25415, -130.69405, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material1066, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material107 = CreateObject(19449, -2799.25415, -130.69400, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material107, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material108 = CreateObject(19449, -2799.22559, -144.20071, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material108, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material109 = CreateObject(19449, -2799.22559, -144.20070, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material109, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material110 = CreateObject(19449, -2799.18896, -160.25266, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material110, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material111 = CreateObject(19449, -2799.18896, -160.25270, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material111, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material112 = CreateObject(19449, -2799.21680, -173.65840, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material112, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material113 = CreateObject(19449, -2799.21680, -173.65836, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material113, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material114 = CreateObject(19449, -2799.21240, -173.61861, 23.65390,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material114, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material115 = CreateObject(19449, -2799.14868, -87.22481, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material115, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material116 = CreateObject(19377, -2737.00269, -97.71313, 24.59130,   0.00000, 0.00000, 0.00000);//ablakok
SetObjectMaterial(material116, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material117 = CreateObject(19377, -2737.01196, -107.04802, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material117, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material118 = CreateObject(19377, -2737.03540, -119.55817, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material118, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material119 = CreateObject(19377, -2736.99121, -128.86403, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material119, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material120 = CreateObject(19377, -2737.06323, -142.31961, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material120, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material121 = CreateObject(19377, -2737.14209, -151.65663, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material121, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material122 = CreateObject(19377, -2737.13428, -165.69707, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material122, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material123 = CreateObject(19377, -2737.15210, -175.12663, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material123, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material124 = CreateObject(19377, -2737.22168, -191.76634, 24.59130,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material124, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material125 = CreateObject(19377, -2737.06177, -85.97784, 24.59130,   0.00000, 0.00000, 0.00000);//
SetObjectMaterial(material125, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material126 = CreateObject(19538, -2768.08569, -79.91540, -30.09200,   0.00000, 90.00000, 90.00000);
SetObjectMaterial(material126, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material127 = CreateObject(19538, -2737.00122, -111.16096, -30.09200,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material127, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material128 = CreateObject(19538, -2737.13574, -169.46352, -30.09200,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material128, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material129 = CreateObject(19538, -2768.02393, -200.56403, -30.09200,   0.00000, 90.00000, 90.00000);
SetObjectMaterial(material129, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material130 = CreateObject(19538, -2767.86499, -141.68486, 32.33500,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material130, 0, 13734, \"hillcliff_lahills\", \"des_ranchwall1\", 0xFFFFFFFF);
new material131 = CreateObject(19538, -2768.46582, -141.78400, 6.18400,   0.00000, 0.00000, 90.00000);
SetObjectMaterial(material131, 0, 13734, \"hillcliff_lahills\", \"des_ranchwall1\", 0xFFFFFFFF);
new material132 = CreateObject(19538, -2791.93433, -123.31682, -45.56200,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material132, 0, 13734, \"hillcliff_lahills\", \"des_ranchwall1\", 0xFFFFFFFF);
new material133 = CreateObject(19538, -2791.99438, -156.70056, -45.56200,   0.00000, 90.00000, 0.00000);
SetObjectMaterial(material133, 0, 13734, \"hillcliff_lahills\", \"des_ranchwall1\", 0xFFFFFFFF);
new material134 = CreateObject(19449, -2799.17700, -192.81810, 30.53190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material134, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material135 = CreateObject(19449, -2799.17700, -192.81815, 27.09290,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material135, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material136 = CreateObject(19449, -2799.17700, -192.81810, 23.65390,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material136, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material137 = CreateObject(19449, -2799.17700, -192.81810, 17.68090,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material137, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material138 = CreateObject(19449, -2799.17700, -192.81810, 14.24190,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material138, 0, 8675, \"wddngchpl02\", \"wddngchapelwndw01_128\", 0xFFFFFFFF);
new material139 = CreateObject(3499, -2798.32520, -103.22000, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material139, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material140 = CreateObject(3499, -2798.14331, -109.82860, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material140, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material141 = CreateObject(3499, -2798.32861, -116.62610, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material141, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material142 = CreateObject(3499, -2797.64014, -123.00970, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material142, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material143 = CreateObject(3499, -2798.40771, -164.01099, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material143, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material144 = CreateObject(3499, -2798.39160, -170.13026, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material144, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);
new material145 = CreateObject(3499, -2798.31812, -181.47298, 11.02200,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(material145, 0, 16150, \"ufo_bar\", \"GEwhite1_64\", -1);

89
Segítségkérés / Streamer probléma
« Dátum: 2015. november 23. - 18:24:43 »
Sziasztok! A lényeg, hogy egy cosmó map van a szerverembe, de mivel már túl sok van ezért streamer-t kellene használjak, viszont ha használom akkor majdnem az egész gamemode nem működik csak a remove building része. Még a skinselector is a standardra cserélődik és az összes map eltűnik. Valaki tud segíteni?

90
SA-MP: Szerverfejlesztés / Szavazórendszer
« Dátum: 2015. november 23. - 17:54:26 »
Tényleg :D Köszi :D

Dupla hozzászólás automatikusan összefûzve. ( 2015. november 23. - 17:57:31 )

Egyébként ezt:
format(string, sizeof string, \"> %d Játékos nemmel szavazott.\", votacao[nao]);

 Azért nem is raktam bele (sőt ha jól emlékszem eredetileg kiírta, hogy ki mire szavazott), mert nem kartam, hogy mindenki lássa, hogy ki mire szavaz. Csak az eredmény látszódjon, hogy ne generáljon senki dühöt magában, hogyha xy erre szavazott és ne szólja meg.

Oldalak: 1 ... 4 5 [6] 7 8 ... 18
SimplePortal 2.3.7 © 2008-2024, SimplePortal