Luigi
-
Posts
5 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by Luigi
-
-
Nu ai pus un }
-
Mersi,nu nui pe GF,,ma poti ajuta in urmatoarele comanzi?
if(strcmp(cmd,"/startteszt", true) == 0) { new playa; new jatekos; GetPlayerName(playa, sendername, sizeof(sendername)); playa = ReturnUser(tmp); jatekos = ReturnUser(tmp); if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { new jogsi[128]; jogsi = strtok(cmdtext, idx); if(!strlen(jogsi)) { SendClientMessage(playerid,szurke,"HASZNÃLAT - /startteszt [A,B,C,hajó,repül?][playerid]"); return 1; } if(GetDistanceBetweenPlayers(playerid,jatekos) > 1) { SendClientMessage(playerid, szurke, " Nincs a közeledbe ez a játékos!"); return 1; } if(strcmp(jogsi,"A",true) == 0) { format(string, sizeof(string), "ElindÃtottad %s A kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s elindÃtotta az A kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); motorlic[playerid] = 1; return 1; } if(strcmp(jogsi,"B",true) == 0) { format(string, sizeof(string), "ElindÃtottad %s B kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s elindÃtotta a B kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); PlayerInfo[playerid][pCarlic] = 1; return 1; } if(strcmp(jogsi,"C",true) == 0) { format(string, sizeof(string), "ElindÃtottad %s C kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s elindÃtotta a C kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); kamionlic[playerid] = 1; return 1; } if(strcmp(jogsi,"hajó",true) == 0) { format(string, sizeof(string), "ElindÃtottad %s hajó tesztjét tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s elindÃtotta a hajó tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); hajolic[playerid] = 1; return 1; } if(strcmp(jogsi,"repül?",true) == 0) { format(string, sizeof(string), "ElindÃtottad %s repül? tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s elindÃtotta a repül? tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); repulolic[playerid] = 1; return 1; } } } if(strcmp(cmd,"/stopteszt", true) == 0) { new playa; new jatekos; GetPlayerName(playa, sendername, sizeof(sendername)); playa = ReturnUser(tmp); jatekos = ReturnUser(tmp); if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { new jogsi[128]; jogsi = strtok(cmdtext, idx); if(!strlen(jogsi)) { SendClientMessage(playerid,szurke,"HASZNÃLAT - /stopteszt [A,B,C,hajó,repül?][playerid]"); return 1; } if(GetDistanceBetweenPlayers(playerid,jatekos) > 1) { SendClientMessage(playerid, szurke, " Nincs a közeledbe ez a játékos!"); return 1; } if(strcmp(jogsi,"A",true) == 0) { format(string, sizeof(string), "LeállÃtottad %s A kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s leállÃtotta az A kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); motorlic[playerid] = 0; return 1; } if(strcmp(jogsi,"B",true) == 0) { format(string, sizeof(string), "LeállÃtottad %s B kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s leállÃtotta az B kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); PlayerInfo[playerid][pCarlic] = 0; return 1; } if(strcmp(jogsi,"C",true) == 0) { format(string, sizeof(string), "LeállÃtottad %s C kategória tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s leállÃtotta az C kategória tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); kamionlic[playerid] = 0; return 1; } if(strcmp(jogsi,"hajó",true) == 0) { format(string, sizeof(string), "LeállÃtottad %s hajó tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s leállÃtotta a hajó tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); hajolic[playerid] = 0; return 1; } if(strcmp(jogsi,"repül?",true) == 0) { format(string, sizeof(string), "LeállÃtottad %s repül? tesztjét",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s leállÃtotta a repül? tesztedet",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); repulolic[playerid] = 0; return 1; } } } if(strcmp(cmd,"/jogsi",true) == 0) { new playa; new jatekos; GetPlayerName(playa, sendername, sizeof(sendername)); playa = ReturnUser(tmp); jatekos = ReturnUser(tmp); if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { new jogsi[128]; jogsi = strtok(cmdtext, idx); if(!strlen(jogsi)) { SendClientMessage(playerid,szurke,"HASZNÃLAT - /jogsi [A,B,C,hajó,repül?][playerid]"); return 1; } if(GetDistanceBetweenPlayers(playerid,jatekos) > 1) { SendClientMessage(playerid, szurke, " Nincs a közeledbe ez a játékos!"); return 1; } if(stopteszt[playerid] == 1) { SendClientMessage(playerid,szurke,"El?bb állÃtsd le a tesztjét"); return 1; } if(strcmp(jogsi,"A",true) == 0) { format(string, sizeof(string), "Adtál %s -nek egy A kategóriájú jogsit",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s oda adta neked a A kategóriájú jogsid",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); format(string, sizeof(string),"* %s átad egy iratot %s -nek ",GetPlayerNameEx(playerid),giveplayerid); ProxDetector(20.0,playerid,string,me,me,me,me,me); motorlic[playerid] = 1; return 1; } if(strcmp(jogsi,"B",true) == 0) { format(string, sizeof(string), "Adtál %s -nek egy B kategóriájú jogsit",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s oda adta neked a B kategóriájú jogsid",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); format(string, sizeof(string),"* %s átad egy iratot %s -nek ",GetPlayerNameEx(playerid),giveplayerid); ProxDetector(20.0,playerid,string,me,me,me,me,me); PlayerInfo[playerid][pCarlic] = 1; return 1; } if(strcmp(jogsi,"C",true) == 0) { format(string, sizeof(string), "Adtál %s -nek egy C kategóriájú jogsit",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s oda adta neked a C kategóriájú jogsid",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); format(string, sizeof(string),"* %s átad egy iratot %s -nek ",GetPlayerNameEx(playerid),giveplayerid); ProxDetector(20.0,playerid,string,me,me,me,me,me); kamionlic[playerid] = 1; return 1; } if(strcmp(jogsi,"hajó",true) == 0) { format(string, sizeof(string), "Adtál %s -nek egy hajó jogsit",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s oda adta neked a hajó jogsit ",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); format(string, sizeof(string),"* %s átad egy iratot %s -nek ",GetPlayerNameEx(playerid),giveplayerid); ProxDetector(20.0,playerid,string,me,me,me,me,me); hajolic[playerid] = 1; return 1; } if(strcmp(jogsi,"repül?",true) == 0) { format(string, sizeof(string), "Adtál %s -nek egy repül? jogsit",giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "%s oda adta neked a repül? jogsid",GetPlayerNameEx(playerid)); SendClientMessage(jatekos,COLOR_LIGHTBLUE,string); format(string, sizeof(string),"* %s átad egy iratot %s -nek ",GetPlayerNameEx(playerid),giveplayerid); ProxDetector(20.0,playerid,string,me,me,me,me,me); repulolic[playerid] = 1; return 1; } } }
Nu stiu de ce nu imi functioneaza "jatekos"-ul (jatekos = giveplayerid)
-
array must be indexed (variable "motorlic") array must be indexed (variable "repulolic") array must be indexed (variable "hajolic") array must be indexed (variable "kamionlic")
Trebuie sa salvez intrun file?Sau ce trebuie sa fac?
-
Salut tutoror.
De azi diminiata nu imi apar masinile,cand pornesc serverul im da "Number of Vehicle models loaded: 0".
Am sters tot ce am facut ieri (scripturi) dar tot aia imi da (ieri mi-au aparut).
Aici e un exemplu,cum sunt masinile puse in mod
AddStaticVehicleEx(497,-1679.2411,705.2559,30.7781,89.4696,1,7, 600000); // rend?r1 AddStaticVehicleEx(597,-1596.3026,675.4023,-5.4731,0.9298,1,7, 600000); // rend?r2 AddStaticVehicleEx(597,-1600.3932,675.5340,-5.4721,0.0750,1,7, 600000); // rend?r3 AddStaticVehicleEx(597,-1616.9489,693.3655,-5.4737,178.5480,1,7, 600000); // rend?r4
PANA LA URAM AM REZOLVAT SINGUR PROBLEMA
Problema Porti si usa pd!
in Arhivă probleme
Posted
Uitate daca sunt pusa corect coordinatele,asta e mare lucru sa corectam