Jump to content

Luigi

Membru
  • Posts

    5
  • Joined

  • Last visited

    Never

Luigi's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Uitate daca sunt pusa corect coordinatele,asta e mare lucru sa corectam
  2. Luigi

    4 Erori

    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)
  3. Luigi

    4 Erori

    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?
  4. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.