GiGiMuScHi
-
Posts
108 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by GiGiMuScHi
-
-
Eu nu am
public IsAnOwnableCar(vehicleid){
if(vehicleid >= 271 && vehicleid <= 425) { return 1; }
//modifica 271 cu id-u primei masini.
//modifica 425 cu id-u ultimei masini
return 0;
}
Eu am asa:
public IsAnOwnableCar(carid){
for(new i = 1; i < sizeof(ownedcar); i++)
{
if(carid == ownedcar) return 1;
}
return 0;
}
Oare sa inlocuies ce am eu cu ce mioai dat u?
-
Frate dc ii ptoblema GodFather am cerut sa mi se explice nu am cerut un FS sau un GM sau o comanda gata facuta.
Va rog ajutatima si pe mine.
-
Am o intrebare.
Ce trebuie sa fac ca cars.cfg sa mearga.
Daca il adaug imi da toate masinile de la factiuni DMV si restul peste cap.
Daca scot cars.cfg merge toate perfect.
Imi puteti explica ce trebuie sa fac?
Sper ca nu dati T/C.
-
Am o intrebare.
Ce trebuie sa fac ca cars.cfg sa mearga.
Daca il adaug imi da toate masinile de la factiuni DMV si restul peste cap.
Daca scot cars.cfg merge toate perfect.
Imi puteti explica ce trebuie sa fac?
Sper ca nu dati T/C.
-
Salutare am o erroare si nu stiu cum sa o rezolv:
C:\Documents and Settings\Administrator\My Documents\blodzrp\bloodzrp.pwn(18474) : error 047: array sizes do not match, or destination array is too smallPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linia 18474:
x_nr = strtok(cmdtext, idx);Poate va ajuta cu ceva:
new x_nr[64];x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SCM(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]");
SCM(playerid, COLOR_WHITE, "Available names: buy ,park, lock, sell, sellto, color, tow, locate, plate, tunning, paintjob");
return 1;
}
-
cauta tutoriale k se gasesc destule.tias fi dat eu
dar sant pe mobile.
-
Cum rezolv warningurile astea
C:\Documents and Settings\Administrator\Desktop\[www.fisierulmeu.ro] Xtr-Zon Teddy23\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")C:\Documents and Settings\Administrator\Desktop\[www.fisierulmeu.ro] Xtr-Zone Teddy23\gamemodes\Teddy23.pwn(10989) : warning 209: function "JB_OnPlayerConnect" should return a value
-
Cum rezolv warninguls i erroarea acesta?
NU mia stiu
C:\Documents and Settings\Administrator\Desktop\[www.fisierulmeu.ro] Xtr-Zone Teddy23\gamemodes\Teddy23.pwn(10989) : warning 209: function "JB_OnPlayerConnect" should return a valueC:\Documents and Settings\Administrator\Desktop\[www.fisierulmeu.ro] Xtr-Zone Teddy23\gamemodes\Teddy23.pwn(13944) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
-
UIte aicia un tutorial
http://www.sa-mp.ro/forum/index.php/topic,5939.0.html
-
Cum scap de aceata erroare:
C:\Documents and Settings\Administrator\Desktop\blodzrp\bloodzrp.pwn(18474) : error 047: array sizes do not match, or destination array is too smallPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linia 18474 este:
x_nr = strtok(cmdtext, idx);Mai multe detalii de la aceasta linie:
new x_nr[64];x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SCM(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]");
SCM(playerid, COLOR_WHITE, "Available names: buy ,park, lock, sell, sellto, color, tow, locate, plate, tunning, paintjob");
return 1;
}
-
Am o problema cu cars.cfg.Cand adug cars.cfg masinile de dactiuni spawn DMv si altele se dau peste cap.Daca scot Cars.cfg totul merge perfect.Nu stiu cum sa rezolv bugul acesta cu CArs.cfg.Cars-ul este de la masini personale.ma puteti ajuta va rog eu.
-
Multumesc frumos.Am rezolvat cele 4 errori si am scris toate includerele pe care le avea serverul.
-
Am un nou gamemodes.Eu am ip static si pot tine servere deschise si acest gamemodes pe care il am merge sa il pornesc la mn in pc.Dar cand pui acest server pe host nu porneste.Uitati ce imi arata:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team
[22:07:01]
[22:07:01] Server Plugins
[22:07:01] --------------
[22:07:01] Loaded 0 plugins.
[22:07:01] I couldn't load any gamemode scripts. Please verify your server.cfg
[22:07:01] It needs a gamemode0 line at the very least.
Am vb cu cei de la host si miau spus sa pui moduri sau patchuri pt linux nu pt windows.Deci pot sa rezolv aceasta problema?
-
Am si eu o intrebare.La factiunea TCC de exemplu.Pe mini-harta este un patrat rosu adica cat tine tcc de mare si un player intra in parametrul acela marcat ii da respawn indiferent de pozitia lui adica da e deasupra tcc daca ii langa el ii da respawn automat.Doar la membri factiunii nu le da respawn.As dori sa fac si eu aceasta chestie.Ma poate ajuta cineva?
-
Am as dori sa stiu cum se fac gate in care doar membrii si liderul o poade deschide.Nu stiu si nu am nici o idee cum as putea sa fac.Ma puteti ajuta>?
-
Asta nu e eroare.Ia uitate la .amx cati MB are?DAca are 0 inseamna ca nu ii bun serverul sau cine stie ce vrei u sa faci.
-
Salut am adugat pe server un sistem de tuning luat dupa un alt server si imi da 26 de errori:
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3746) : error 004: function "PlayerToPoint" is not implementedC:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3750) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3754) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3758) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3762) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3774) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3778) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3782) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3786) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3790) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3802) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3806) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\My Documents\My Videos\eGamer.pwn(3810) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Am adaugat :
#define PTP PlayerToPointforward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);Ma puteti ajuta?
-
Cum as putea ca la o comanda, sa pui o tasta.exemplu /fixvef sa fie tasta 1 ca sa nu mai scriu /fixveh ci doar sa apes doar tasta 1 si masina sa fie ca noua?Ma puteti ajuta.
-
Inainte tia mers samp sau acuma ii prima oara de cand joci?
-
Deci am cread textdarwn-ul merge la mn in pc atata cand il pun pe host nu merge cum nici nu ar exista acel textdrawn.Acuma ai inteles?Pur si simplu nu merge nu il citeste am crezut ca ii din plugin dar nu e nu stiu din ce ar putea fi.Avezti vreo idee?
-
Am un textdrawn care arata cati playeri sant online pe server.Problema ii ca daca il bag pe host nu merge.Daca il bag in pc la mn merge.Si am facut si cateva porti la taxi Lspd, si la LSPD portile alea 2 nu mi le citeste si in pc merg.Si nu stiu care ii problema.Ma poate ajuta careva?
-
Am erroare al copilare.
Nu stii cum sa o rezolv.
C:\Documents and Settings\Administrator\Desktop\gamemodes\eGamer.pwn(11920) : warning 213: tag mismatchPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 10900 bytes
Code size: 2081092 bytes
Data size: 6947048 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5184 cells (20736 bytes)
Total requirements: 9055424 bytes
1 Warning.
-
Am o problema la /uninvite.daca un lider da uninvite si alt lider incearca sa il bage in factiune zice "That player is in a Faction/Family/Punished!".Ma puteti ajta?
Uitati si comanda /uninvite:
//----------------------------------[uNINVITE]------------------------------------------------if(strcmp(cmd, "/uninvite", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "COMANDA: /uninvite [1 with Fpunish/0 without Fpunish] [playerid/PartOfName]");
return 1;
}
new x_nr;
new para1;
x_nr = strvalEx(tmp);
tmp = strtok(cmdtext, idx);
para1 = ReturnUser(tmp);
if(x_nr == 0)
{
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Comanda: /uninvite 0 [playerid/PartOfName]");
return 1;
}
if (PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pAdmin] >= 5 )
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
if (PlayerInfo[para1][pMember] > 0 && ((PlayerInfo[para1][pMember] == PlayerInfo[playerid][pLeader]) || (PlayerInfo[playerid][pAdmin] >= 5)))
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
printf("AdmCmd: %s has uninvited %s.", sendername, giveplayer);
format(string, sizeof(string), "* You have been kicked from a Family / Police Force, by Leader %s.", sendername);
SendClientMessage(para1, COLOR_LIGHTRED, string);
SendClientMessage(para1, COLOR_LIGHTBLUE, "* You are now a Civilian again.");
gTeam[para1] = 3;
PlayerInfo[para1][pTeam] = 3;
PlayerInfo[para1][pMember] = 0;
PlayerInfo[para1][pRank] = 0;
PlayerInfo[para1][pFwarn] = 0;
PlayerInfo[para1][pChar] = 0;
PlayerInfo[para1][pPunish] = 0;
new rand = random(sizeof(CIV));
SetSpawnInfo(para1, gTeam[para1], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
PlayerInfo[para1][pModel] = CIV[rand];
MedicBill[para1] = 0;
SpawnPlayer(para1);
format(string, sizeof(string), " You have kicked %s from his Family / Police Force.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
}
else
{
format(string, sizeof(string), "%s isn't in your faction.You cannot uninvite him.", giveplayer);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
}//not connected
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "You are not autorized to use this command!");
}
}
if(x_nr == 1)
{
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Comanda: /uninvite 1 [playerid/PartOfName]");
return 1;
}
if (PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pAdmin] >= 5 )
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
if (PlayerInfo[para1][pMember] > 0)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
printf("AdmCmd: %s has uninvited %s.", sendername, giveplayer);
format(string, sizeof(string), "* You have been kicked from a Family / Police Force, by Leader %s.", sendername);
SendClientMessage(para1, COLOR_LIGHTBLUE, string);
SendClientMessage(para1, COLOR_LIGHTBLUE, "* You are now a Civilian again.");
gTeam[para1] = 3;
PlayerInfo[para1][pTeam] = 3;
PlayerInfo[para1][pMember] = 0;
PlayerInfo[para1][pRank] = 0;
PlayerInfo[para1][pFwarn] = 0;
PlayerInfo[para1][pChar] = 0;
PlayerInfo[para1][pPunish] = 20;
new rand = random(sizeof(CIV));
SetSpawnInfo(para1, gTeam[para1], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
PlayerInfo[para1][pModel] = CIV[rand];
MedicBill[para1] = 0;
SpawnPlayer(para1);
format(string, sizeof(string), " You have kicked %s from his Family / Police Force.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
}//not connected
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "You are not autorized to use this command!!");
}
}
}
return 1;
}
//----------------------------------[uNINVITE]------------------------------------------------
-
GG 10/10 1000/1000 iao cum vrei e crima frate.Mama mai de cand caut asa ceva
V_Pro
in Filterscript-uri
Posted
II tare de tot
5/5