Problema intalnita (descriere): Incerc sa fac un gamemode, niste buguri la gm-ul principal. Totul se bazeaza pe alte filterscript-uri, in caz ca este furat de cineva sa nu poata fi asa usor de descifrat.... Ero(area / rile) / warning-(ul / urile):
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(33): error 021: symbol already defined:"pLevel"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(48): error 001: expected token:";", but found "public"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(57): error 036: empty statement
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(58): error 029: invalid expression, assumed zero
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(58): warning 215: expression has no effect
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(58): error 001: expected token:";", but found "if"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(65): error 036: empty statement
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(66): error 029: invalid expression, assumed zero
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(89): error 035: argument type mismatch (argument 1)
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(89): error 039: constant symbol has no size
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(90): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(91): error 035: argument type mismatch (argument 1)
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(91): error 039: constant symbol has no size
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(92): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(93): error 035: argument type mismatch (argument 1)
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(93): error 039: constant symbol has no size
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(94): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(95): error 035: argument type mismatch (argument 1)
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(95): error 039: constant symbol has no size
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(96): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(97): error 035: argument type mismatch (argument 1)
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(97): error 039: constant symbol has no size
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(98): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(86): warning 204: symbol is assigned a value that is never used:"info"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(83): warning 204: symbol is assigned a value that is never used:"tmp"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(110): error 036: empty statement
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(111): error 029: invalid expression, assumed zero
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(111): warning 215: expression has no effect
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(111): error 001: expected token:";", but found "if"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(114): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(115): error 036: empty statement
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(116): error 029: invalid expression, assumed zero
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(119): warning 202: number of arguments does not match definition
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gArmySpawns"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gMedicalSpawns"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gPoliceSpawns"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gRandomSpawns_LasVenturas"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gRandomSpawns_LosSantos"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"gRandomSpawns_SanFierro"
C:\Users\a\Desktop\Folder nou (2)\gamemodes\grandlarc.pwn(137): warning 203: symbol is never used:"total_vehicles_from_files"Pawn compiler 3.2.3664Copyright(c)1997-2006, ITB CompuPhase22Errors.
Liniile de cod / sursa / script-ul(obligatoriu):
//----------------------------------------------------------//// KEEPAROUND RPG 0.1// Aceasta este o versiune beta, nu este garantat ca v-a merge 100%////----------------------------------------------------------#include<a_samp>#include<core>#include<float>#include"../include/gl_common.inc"#include"../include/gl_spawns.inc"#pragma tabsize //----------------------------------------------------------#define COLOR_WHITE 0xFFFFFFFF#define COLOR_NORMAL_PLAYER 0xFFBB7777new total_vehicles_from_files=;#define rosu "{00FFFF}"#define alb "{FFFFFF}"//new thisanimid=0;//new lastanimid=0;//----------------------------------------------------------enumPlayerInfo{
pLevel,
pAdmin,
pExp,
pLevel,string[128],
pLevel,
pExp,
pCash,Kills,Deaths,Jailed,Muted,Warns,Deposit,Donator,}new pInfo[MAX_PLAYERS][PlayerInfo]//----------------------------------------------------------publicOnPlayerSpawn(playerid){if(pInfo[playerid][pAdmin]>=1){SendClientMessage(playerid,0x00FFFF,"Factura ta medicala este de $20. O zi buna!");SetPlayerPos(playerid,2366.3879,1682.2337,14.2811);SetPlayerSkin(playerid,217);SetPlayerInterior(playerid,);GivePlayerMoney(playerid,-20);};elseif(pInfo[playerid][pLevel]>=1){SetPlayerSkin(playerid,177);SetPlayerPos(playerid,2444.0042,1662.9326,10.8203);SendClientMessage(playerid,0x00FFFF,"Factura ta medicala este de $30. O zi buna!");SetPlayerInterior(playerid,);GivePlayerMoney(playerid,-30);};else{SetPlayerSkin(playerid,180);SetPlayerPos(playerid,2444.0042,1662.9326,10.8203);SendClientMessage(playerid,0x00FFFF,"Factura ta medicala este de $50. O zi buna!");SetPlayerInterior(playerid,);GivePlayerMoney(playerid,-50);}return1;}//----------------------------------------------------------publicOnPlayerCommandText(playerid, cmdtext[]){new cmd[256];new idx;
cmd = strtok(cmdtext, idx);new tmp[256];new playername[MAX_PLAYER_NAME];GetPlayerName(playerid,playername,sizeof(playername));new info[248];if(strcmp("/stats", cmd,true,10)==){
format(string,sizeof(string),"_____________Statusul lui %s________",GetName(id));SendClientMessage(playerid,0xd3d3d3);
format(string,sizeof(string),"Level:[%s] Respect:[%d] Admin:[%s] In mana:[%d] In banca:[%s]",GetPlayerName, pInfo[playerid][pLevel], pInfo[playerid][pCash],pInfo[playerid][Deposit]);SendClientMessage(playerid,0xd3d3d3);
format(string,sizeof(string),"Killuri:[%s];Morti:[%d];Warnuri:[%s];Inchis:[%d];Vorbit interzis:[%s]", pInfo[playerid][pKills], pInfo[playerid][pDeaths], pInfo[playerid][pWarns], pInfo[playerid][pJailed], pInfo[playerid][pMuted]);SendClientMessage(playerid,0xd3d3d3);
format(string,sizeof(string),"Factiune:[Civil];Rank:[0];Telefon:[None];Job:[Niciunul];Premium:[%s]", pInfo[playerid][Donator]);SendClientMessage(playerid,0xd3d3d3);
format(string,sizeof(string),"__________________________________________");SendClientMessage(playerid,0xd3d3d3);return1;}return;}publicOnPlayerRequestClass(playerid, classid){if(pInfo[playerid][pAdmin]>=1){SetPlayerSkin(playerid,217);SetPlayerPos(playerid,2366.3879,1682.2338,14.2811);};elseif(pInfo[playerid][pLevel]>=1){SetPlayerSkin(playerid,177);SetPlayerPos(playerid,2444.0042,1662.9326,10.8203,260.3592);};else{SetPlayerSkin(playerid,180);SetPlayerPos(playerid,2444.0042,1662.9326,10.8203,260.3592,,,,,,);}return1;}//----------------------------------------------------------publicOnGameModeInit(){SetGameModeText("RP v0.1");ShowNameTags(1);SetNameTagDrawDistance(40.0);EnableStuntBonusForAll();DisableInteriorEnterExits();SetWeather(2);}//----------------------------------------------------------
Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da. no result
Question
ImTouchk
Problema intalnita (descriere): Incerc sa fac un gamemode, niste buguri la gm-ul principal. Totul se bazeaza pe alte filterscript-uri, in caz ca este furat de cineva sa nu poata fi asa usor de descifrat....
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da. no result
Link to comment
Share on other sites
6 answers to this question
Recommended Posts