-
Posts
146 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
News
Documentation
Everything posted by keNN.
-
Gamemodul asta este la sectiunea gamemodes.Nu ai creat tu nimic
-
Cauta pe google Bugged UCP,dar sa nu te miri de ce te trezesti cu 10 admini.
-
Prea multe culori.
-
Suna bine,nu este greu de facut.
-
www.nixcenter.ro
-
Tastezi in bara de cautare ''localhost''
-
Vorbeste ala care are server cu gm-ul R.I.F..si habar n-are sa scripteze.
-
Va ajut eu cu orice problema din gm-ul ala.Il detin de mai bine de 2 luni,cand nimeni nu il avea (Decat eu si sennow,am avut si sv cu el.) + ca am o varianta de 50 de ori mai avansata decat aceasta.
-
De ce l-ai pus pe net ma..? decat noi 2 il aveam..
-
SQL = mysql_connect( localhost , pzrpg , pzrpg, q9si33IQ0w ); Daca nu specifici numele bazei de date nu avem de unde sa stim.(eu ti-am pus acelasi nume ca la user.)
-
Proiect Roleplay de la 0 - Rob system
keNN. replied to Sinner.PWN's topic in Imagini şi Videoclipuri
Frumos -
Accepta.
-
CMD:arrest(playerid, params[]) { new string[128], playerName[2][MAX_PLAYER_NAME], targetID; if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] != 1) return SendClientMessage(playerid, COLOR_GREY, "You're not a law enforcement officer."); else if(sscanf(params, "u", targetID)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/arrest [playerid]"); else if((IsPlayerInRangeOfPoint(playerid,5, 1528.5240,-1678.2472,5.8906) && IsPlayerInRangeOfPoint(targetID,5, 1528.5240,-1678.2472,5.8906)) || ((IsPlayerInRangeOfPoint(playerid,5, -1605.8667,675.1851,-5.6662) && IsPlayerInRangeOfPoint(targetID,5, -1605.8667,675.1851,-5.6662)) || ((IsPlayerInRangeOfPoint(playerid,5, 2282.2065,2431.0796,3.0005) && IsPlayerInRangeOfPoint(targetID,5, 2282.2065,2431.0796,3.0005))))) { if(playerVariables[targetID][pFreezeType] == 2) { GetPlayerName(playerid, playerName[0], MAX_PLAYER_NAME); GetPlayerName(targetID, playerName[1], MAX_PLAYER_NAME); format(playerVariables[targetID][pCrimeReason], MAX_PLAYER_NAME, ""); if(playerVariables[targetID][pWarrants] == 1) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 1000$ with a sentence of 2 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 1000; playerVariables[targetID][pPrisonTime] = 120; playerVariables[playerid][pMoney] += 1000; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } if(playerVariables[targetID][pWarrants] == 2) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 2500$ with a sentence of 5 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 2500; playerVariables[playerid][pMoney] += 2500; playerVariables[targetID][pPrisonTime] = 300; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } if(playerVariables[targetID][pWarrants] == 3) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 4500$ with a sentence of 7 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 4500; playerVariables[targetID][pPrisonTime] = 420; playerVariables[playerid][pMoney] += 4500; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } if(playerVariables[targetID][pWarrants] == 4) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 6000$ with a sentence of 10 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 6000; playerVariables[targetID][pPrisonTime] = 600; playerVariables[playerid][pMoney] += 6000; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } if(playerVariables[targetID][pWarrants] == 5) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 8000$ with a sentence of 15 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 8000; playerVariables[targetID][pPrisonTime] = 900; playerVariables[playerid][pMoney] += 8000; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } if(playerVariables[targetID][pWarrants] == 6) { format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 10000$ with a sentence of 20 minutes.", playerName[0], playerName[1]); SCMTA(COLOR_LIGHTRED,string); playerVariables[targetID][pMoney] -= 10000; playerVariables[targetID][pPrisonTime] = 1200; playerVariables[playerid][pMoney] += 5000; validResetPlayerWeapons(targetID); playerVariables[targetID][pFreezeTime] = 0; playerVariables[targetID][pFreezeType] = 0; playerVariables[targetID][pPrisonID] = 3; playerVariables[targetID][pWarrants] = 0; SetPlayerWantedLevel(targetID, 0); SetPlayerArmour(targetID, 0); TogglePlayerControllable(targetID, true); playerVariables[targetID][pArmour] = 0; playerVariables[targetID][pArrests]++; playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants]; SetPlayerInterior(targetID, 6); SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0); new spawn = random(sizeof(JailSpawns)); SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]); SetPlayerFacingAngle(targetID, 0); } format(playerVariables[targetID][pCrimeReason], 250, ""); } else SendClientMessage(playerid, COLOR_GREY, "The person you wish to arrest must be restrained first (cuffed)."); } return 1; }
-
Sper sa iti placa,daca vrei poti sa il testezi.
-
Pare ok.
-
Il urci cu un client FTP,de exemplu: filezilla,winscp
-
Pentru a face un panel de la 0 ai nevoie de cunostinte extrem de mari in php si mysql. Insa se gasesc pe net multe paneluri facute deja.Le poti edita cum vrei tu.
-
Nu am inteles nimic,ce problema ai ?