Armyww
-
Posts
83 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by Armyww
-
-
Foloseste Army Ban System, e mai simplu de utilizat.
-
Mergea si SetPlayerPosEx, dar uite cum era sintaxa:
stock SetPlayerPosEx(playerid, Float:x ,Float:y,Float:z,Float:a,interior = 0,vw = 0)
-
Foloseste SetPlayerPos.
-
:.." post="121388" timestamp="1334919324"]
Gresit total ... LOL )
Scrie sus de tot
[pawn]#pragma unused PlayerPos[/pawn]
Auzi la tine, de ce sa tii variabile daca nu le folosesti? Delete it.
Eu de unde sa stiu ce are el in gamemode?
Sa posteze dracu' liniile si gata :)
-
Si cica de ce astia nu stiu scripting...
A variable is basically a bit of memory, it's where data is stored and can be changed and read as required. Variables are one or more cells, a cell is 32 bits (4 bytes) big and by default signed so they can store from -2147483648 to 2147483647 (although -2147483648 is poorly defined in PAWN and gives odd results if displayed). A variable made from more than one cell is called an array, strings are a special type of array where each cell holds a character of the string (or 4 characters in packed strings, but they're not covered here).
Cand ii zice asa unui newbie, e clar l-a bagat in ceata.
-
Practic in godfather este facut IfPlayerInPoint, ca bine inteles e un mod vechi si ei n-au auzit ca a aprut IsPlayerInRange 8-|
-
Oh my fuckin' god.
wiki.sa-mp.com
-
Linia 67429 - sterge variabila
Linia 63859 - foloseste forward.
Linia 63855 - foloseste forward.
Linia 22029 - foloseste forward.
Arata inc-ul vida.
La restul arati aici scripturile.
-
Cica :-?
-
new aArmour = GetPlayerArmour(playerid) + 10;
SetPlayerArmour(playerid, aArmour);
-
Poftim? Cum? Ce? N-am inteles..
-
Ai cumva sters main() ?
-
shaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiahiast8123616178asp]hokhanjkajaabmabka aahnaiyashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiahiast8123616178asp]hokhanjkajaabmabka aahnaiyashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiashaaaaaaaaaaajiajahaihiaashjahaihajjhahiahiast8123616178asp]hokhanjkajaabmabka aahnaiya94728uy2jihasdkalhahpaohahpahakphopahasmla
Si crezi ca ala a inteles ceva?
Cred ca nici unde sa-l bage nu stie
-
Bagamias ... ai invatat si tu pawno acum 1 an si esti smecher?
Logic, numai retarzi scripteaza pe godfather, numai ratati baga tabsize .
Eu in locul vostru ma lasam de scripting si imi dadeam foc.
-
Cred ca ai luat un gamemode al secolului 5 xD
-
Pai bun si unde e OnPlayerStateKeyChange ?
-
wiki 8-|
-
nu,poti si in gamemodeinit
uitate dupa modelul acesta:
http://wiki.sa-mp.com/wiki/AddStaticVehicle
Ahaaaaaaaaaaaaaa.
ROLF, si are variabile? Se poate salva?
Huh.. logic ca nu, sinucidete
-
PawnFox" post="120449" timestamp="1334597071"]
pentru warninguri > [pawn] #pragma tabsize 0 [/pawn]
pentru erorile cu RemoveBuildingForPlayer ... ai sa-mp 0.3d ? si liniile sunt adaugate la OnPlayerConnect ?
Alt copil copac, DE CE DRACU SA PUN PAGRAMA TABSIZE? Cretini frate :|
E GREU SA SPUI ARANJEAZA RANDURILE :|?
-
Uite cmd /rac fara buguri :
[pawn]if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) // by Mr.Kiss
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 4)
{
SendClientMessage(playerid, COLOR_GRAD1, "** you are not authorized to use that command!");
return 1;
}
new bool:unwanted[MAX_VEHICLES];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= 1850; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
format(string, sizeof(string), "Toate Masinile au fost Respawnate de Adminul : %s.", sendername);
BroadCast(0x5EFB6EFF,string);
format(string, sizeof(string), "[ADMIN]: %s has Respawned All Cars.", sendername);
ABroadCast(COLOR_LIGHTRED,string, 5);
GameTextForAll("~w~Toate Masinile au fost~n~~g~Respawnate!",5000,1);
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s a respawnat toate masinile",d,m,y,h,mi,s,sendername);
AdminLog(string);
}
return 1;
}[/pawn]
Alt destept, si ce bun e uauau.
Dati-va foc :-j.
-
Salut am o problema la culori dau color aleg o culoare o seteaza dar cand intru imi baga culoare negru face asa la toate culorile
sa va arat ce am
culoarea verde
#define Green 0xf,,,
enum pinfo
{
color,
};
new P_DATA[MAX_PLAYERS][pinfo];
dupaia la insert am
format(query,sizeof(query), "INSERT INTO `cl` ( `Col` ) VALUES('%d')", inputtext[0]);
R=db_query* db, Query );
if( listitem == 0 )
{
SetPlayerColor( pplayerid, Green );
}
asa si imi insereaza numele Green
si cand dau Spawn
SetPlayerColor(playerid, C_DATA[playerid][ClanColor]);
ca lam facut pe nume nu pe numere ma poate ajuta cine intrun fel si pe cifre orice D: MS:d
Ba da vorbeste dracu sa inteleg ceva, ma jur ca n-am inteles ceva :|
Si de ce dracu' trebuia inca o matrice? tu gandesti?
-
Incearca asa:
[pawn]586,1950.606201,527.164245,19.098400,146.528091,3,3,cIpiCaO,Wayfarer,1,,1,0[/pawn]
Alt destept, tu deja ii faci database si nici macar nu stii ce variabile is /:)?
-
1. Da ce pana mea? Orice masina la tine e masina personala /:)?
2. MoveObject Sau SetObjectRot...
3. Arata scriptu
-
Creezi o variabila, si cu callbacks te folosesti de ea.
Army Ban System (MySQL)
in Filterscript-uri
Posted
Thanks.