tjohen
-
Posts
19 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by tjohen
-
-
De un timp jucatorii nu mai primesc payday de pe server ? Ce pot face X( ?
-
Am facut asa si tot nu merge , pe un gm merge pe altu nu mai merge ce pot face ?
-
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] >= 3) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {} else { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } if (IsAnAmbulance(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4){} else { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } } return 1; }
Done
-
Nu am inteles cum sa fac?
-
Am si eu o problema , cand ma urc intr-o masina ma da jos fara sa scrie nimica , + ca e facuta masina pt vla si ma da jos din ea chiar daca sunt vla
-
Dupa ce am terminat gm`u , am luat host si la`m pus pe host si cand vreau sa deschid gm`u imi apare la mode unknow de ce ?
-
-
Mi se bugugiesc conturile :| ce pot face , de exemplu cand da cineva /login cu orice parola se poate loga ? ce pot rezolva
-
Incearca cu [pawn]AddStaticVehicleEx[/pawn] si la sfarsit dupa cordonate inainte de ) pune o , si pune un timer .
De exemplu
[pawn]AddStaticVehicleEx(415,659.9653,-1297.7032,13.3228,1.6315,93,93,60000);[/pawn]
-
Am adaugat si eu derby destruction pe server si nu mi se vad masinile in arena is adaugate in gm si cand intru in arena is spawnate masinele dar is invizibile ce pot face ?
-
Mersi imi poti da si /unwarn ?
-
Cand dau cuiva warn imi cade serverul ce pot face ? :|
[pawn]if(strcmp(cmd, "/warn", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /warn [playerid/PartOfName] [reason]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /warn [playerid/PartOfName] [reason]");
return 1;
}
PlayerInfo[giveplayerid][pWarns] += 1;
if(PlayerInfo[giveplayerid][pWarns] >= 5)
{
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "AdmCmd: %s was banned by %s (had 5 Warnings), reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
BanLog(string);
format(string, sizeof(string), "AdmCmd: %s was banned by %s (had 5 Warnings), reason: %s", giveplayer, sendername, (result));
SendClientMessageToAll(COLOR_LIGHTRED, string);
PlayerInfo[giveplayerid][pWarns] = 0;
PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pLocked] = 1;
new playersip[256];
GetPlayerIp(giveplayerid,playersip, sizeof(playersip));
SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO]___________|");
format(string, sizeof(string), "Numele tau este: %s.",giveplayer);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "IP-ul tau este: %s.",playersip);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "Ai fost banat de: %s.",sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "Ai fost banat pentru urmatorul motiv: %s(4 warnuri).",(result));
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "Ai fost banat pe data de: %d/%d/%d (Ziua-Luna-Anul)",day,month,year);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO]___________|");
SendClientMessage(giveplayerid,COLOR_LIGHTRED,"[bAN INFO]: Poti face o cerere de unban pe forumul nostru.Forumul este nu avem deocamdata.Succes !");
SendClientMessage(giveplayerid,COLOR_WHITE,"[HINT]: Te sfatuim sa faci o poza la aceste informatii,si sa o postezi cand faci cerere unban.Apasa F8 pentru a face poza !");
Ban(giveplayerid);
return 1;
}
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "You warned %s, reason: %s", giveplayer, (result));
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "You were warned by %s, reason: %s", sendername, (result));
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "AdmCmd: %s was warned by %s, reason: %s", giveplayer, sendername, (result));
SendClientMessageToAll(0xE42217FF, string);
format(string, sizeof(string), "AdmCmd: %s was warned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year);
WarnLog(string);
Kick(giveplayerid);
return 1;
}
}//not connected
}
else
{
format(string, sizeof(string), " %d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}[/pawn]
Care e problema :-?
-
Am pus fara 6000 la sfarsit si nu merge imi da warnings alea si daca pun cu 6000 merge
-
Deageaba :|
[pawn]C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6806) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6807) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6808) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6809) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6810) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6811) : warning 202: number of arguments does not match definition
[/pawn]
La fel
-
Cum pot rezolva warnings astea ?
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6806) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6807) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6808) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6809) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6810) : warning 202: number of arguments does not match definition
C:\Documents and Settings\cRysTy\Desktop\samp sv\gamemodes\gf.pwn(6811) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 5904 bytes
Code size: 1099948 bytes
Data size: 4429832 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5552068 bytes
6 Warnings.
6806: AddStaticVehicle(415,659.9653,-1297.7032,13.3228,1.6315,93,93,60000); // Cheetah's VLA[iD:415] - 134
6807: AddStaticVehicle(518,670.5521,-1285.4664,13.2486,358.0997,93,93,60000); // Buchanier's VLA[iD:518] 135
6809: AddStaticVehicle(412,660.4728,-1274.0090,13.3849,0.2816,93,93,60000); // Voodoo's VLA[iD:412] 136
6810: AddStaticVehicle(567,670.2395,-1264.0541,13.3885,358.6707,93,93,60000); // Savana's VLA[iD:567] 137
6811: AddStaticVehicle(413,730.6775,-1276.1484,13.6562,0.4488,93,93,60000); // Pony's VLA[iD:413] 138
6812: AddStaticVehicle(469,756.9908,-1259.6201,13.5737,87.6669,93,93,60000); // Sparrow's VLA[iD:46] 139
-
Salutare am facut si eu un gm godfather si cand vreau sa aprind serverul mi se restarteaza ce pot face?
-
am si eu o problema nu mai pot iesi din biz da intrat intru cu /enter iar cand dau exit nu mai merge
-
Salut vreau si eu comanda
/setjob
/n(ewbie) chat please
payday
in Arhivă probleme
Posted
Problema cu Payday : Jucatorii nu primesc payday`ul :| de ce ?
Ma ajuta cineva? Am postat si la probleme godfather ( RP ) dar nu imi raspunde nimeni sper sa ma ajute si pe mine cienva :|