[Ajuda] /criarcasa нcone
#3

coloquei aki mais como o gm ta cheio de erros, entao fiz um novo para testar e deu que nao existe o comando aki vai as linahs do gm teste

PHP код:

#include <a_samp>
public OnGameModeInit()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("teste casa");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;
}
function1D8(arg0arg1arg2arg3arg4arg5arg6arg7)
{
    if(
globCC6C[arg0] == 1)
    {
        return 
strval(arg0);
        new 
File:var0 0File:var1 0;
        if(!
fexist(arg0))
        {
            return 
0;
        }
        
var0 fopen(arg00);
        
var1 fopen(arg11);
        new 
var2[255];
        if(
fread(var0var2255))
        {
            
function41C(var2);
            
format(var2255"%s\r\n"var2);
            
fwrite(var1var2);
        }
        else
        {
        }
        
fclose(var0);
        
fclose(var1);
        return 
1;
        new 
var0 strlen(arg0);
        if(!
arg0)
        {
            return 
0;
        }
        if(
arg0[var0 1] == 10 || arg0[var0 1] == 13)
        {
            
arg0[var0 1] = 0;
            if(!
arg0)
            {
                return 
0;
            }
            if(
arg0[var0 2] == 10 || arg0[var0 2] == 13)
            {
                
arg0[var0 2] = 0;
            }
        }
        return 
0;
        new 
var0[255];
        new 
var1 0;
        
var0[0] = 0;
        if(
strlen(arg0) <= arg1)
        {
            return 
var0;
        }
        if(
strlen(arg0) <= arg2 arg1)
        {
            
arg2 strlen(arg0) - arg1;
        }
        if(
>= arg2)
        {
            return 
var0;
        }
        
var1 arg1;
        if(
arg2 arg1 > ++var1)
        {
            
var0[var1 arg1] = arg0[var1];
            if(!
arg0[var1])
            {
                return 
var0;
            }
        }
        else
        {
        }
        
var0[arg2] = 0;
        return 
var0;
        new 
var0 strlen(arg1);
        new 
var1 0;
        
var1 0;
        if(++
var1 var0)
        {
            
arg0[var1] = arg1[var1];
        }
        else
        {
        }
        
arg0[var0] = 0;
        return 
0;
        if(
strlen(arg0) != strlen(arg1))
        {
            return 
0;
        }
        if(!
strcmp(arg0arg1arg2))
        {
            return 
1;
        }
        return 
0;
        new 
var0 strlen(arg0);
        new 
var1 arg1;
        new 
var2[255];
        if(
arg1 var0 && arg0[arg1] != arg2 && arg1 var1 254)
        {
            
var2[arg1 var1] = arg0[arg1];
            
arg1++;
        }
        else
        {
        }
        
var2[arg1 var1] = 0;
        if(
arg1 var0 && arg0[arg1] == arg2)
        {
            
arg1++;
        }
        return 
var2;
        new 
var0[255];
        
var0[0] = 0;
        if(!
arg0)
        {
            return 
var0;
        }
        new 
var1 0;
        
var1 0;
        if(
strlen(arg0) > ++var1++)
        {
            
var0[var1] = tolower(arg0[var1]);
        }
        else
        {
        }
        
var0[strlen(arg0)] = 0;
        return 
var0;
        if(
fexist(arg0))
        {
            return 
1;
        }
        return 
0;
        if(!
fexist(arg0))
        {
            return 
0;
        }
        
fremove(arg0);
        return 
1;
        new 
File:var0 0;
        if(
fexist(arg0))
        {
            return 
0;
        }
        
var0 fopen(arg01);
        
fclose(var0);
        return 
1;
        new 
var0[255];
        
var0[0] = 0;
        if(
strfind(arg0"="true0) == -1)
        {
            return 
var0;
        }
        
function904(var0functionD50(function644(arg00strfind(arg0"="true0))));
        return 
var0;
        new 
var0[255];
        
var0[0] = 0;
        if(
strfind(arg0"="true0) == -1)
        {
            return 
var0;
        }
        
function904(var0function644(arg0strfind(arg0"="true0) + 1strlen(arg0)));
        return 
var0;
        new 
File:var0 0File:var1 0;
        new 
var2 0;
        new 
var3[255];
        if(!
arg1)
        {
            return 
0;
        }
        
format(var3255"%s.part"arg0);
        
var0 fopen(arg00);
        if(!
var0)
        {
            return 
0;
        }
        
fremove(var3);
        
var1 fopen(var31);
        if(
fread(var0var3255))
        {
            
function41C(var3);
            if(!
var2 && function9F8(function1088(var3), arg1true))
            {
                
format(var3255"%s=%s"arg1arg2);
                
var2 1;
            }
            
fwrite(var1var3);
            
fwrite(var1"\r\n");
        }
        else
        {
        }
        if(!
var2)
        {
            
format(var3255"%s=%s"arg1arg2);
            
fwrite(var1var3);
            
fwrite(var1"\r\n");
        }
        
fclose(var0);
        
fclose(var1);
        
format(var3255"%s.part"arg0);
        if(
function204(var3arg0))
        {
            return 
fremove(var3);
        }
        return 
0;
        new 
var0[255];
        
format(var0255"%d"arg2);
        return 
function13A8(arg0arg1var0);
        return 
strval(function1DD8(arg0arg1));
        new 
var0[255];
        
format(var0255"%f"arg2);
        return 
function13A8(arg0arg1var0);
        return 
floatstr(function1DD8(arg0arg1));
        new 
File:var0 0File:var1 0;
        new 
var2[255];
        
format(var2255"%s.part"arg0);
        
var0 fopen(arg00);
        if(!
var0)
        {
            return 
0;
        }
        
fremove(var2);
        
var1 fopen(var21);
        if(
fread(var0var2255))
        {
            
function41C(var2);
            if(
function9F8(function1088(var2), arg1true))
            {
            }
            else
            {
                
format(var2255"%s"var2);
                
fwrite(var1var2);
                
fwrite(var1"\r\n");
            }
        }
        else
        {
        }
        
fclose(var0);
        
fclose(var1);
        
format(var2255"%s.part"arg0);
        if(
function204(var2arg0))
        {
            return 
fremove(var2);
        }
        return 
0;
        new 
File:var0 0;
        new 
var1[255];
        new 
var2[255];
        
var1[0] = 0;
        
var0 fopen(arg00);
        if(!
var0)
        {
            return 
var1;
        }
        if(
fread(var0var1255))
        {
            
function41C(var1);
            if(
function9F8(function1088(var1), arg1true))
            {
                
var2[0] = 0;
                
strcat(var2function121C(var1), 255);
                
fclose(var0);
                return 
var2;
            }
        }
        if(!
strcmp(var0"/criarcasa"true))
        {
            new 
var4[24];
            
GetPlayerName(arg0var424);
            if(
globCC6C[arg0] == || IsPlayerAdmin(arg0))
            {
                new 
var5[256];
                new 
var6 0var7 0;
                
var5 functionABC(arg1var132);
                if(!
strlen(var5))
                {
                    
SendClientMessage(arg00xFF0000AA"/criarcasa [preзo] [interiorID]");
                    return 
1;
                }
                
var6 strval(var5);
                
var5 functionABC(arg1var132);
                if(!
strlen(var5))
                {
                    
SendClientMessage(arg00xFF0000AA"/criarcasa [preзo] [interiorID]");
                    return 
1;
                }
                
var7 strval(var5);
                
format(var2256"casa%d.ini"52324);
                if(!
functionF08(var2))
                {
                    new 
Float:var8 0.0Float:var9 0.0Float:var10 0.0;
                    
GetPlayerPos(arg0var8var9var10);
                    
functionFC8(var2);
                    
function1958(var2"PosX"var8);
                    
function1958(var2"PosY"var9);
                    
function1958(var2"PosZ"var10);
                    
function1860(var2"Int"var7);
                    
function1860(var2"Mundo"globCC64);
                    
function1860(var2"TDono"0);
                    
function13A8(var2"Dono"343992);
                    
function1860(var2"Preco"var6);
                    
function1860(var2"Trancada"0);
                    new 
var11 0;
                    
var11 CreatePickup(12731function19F0(var2"PosX"), function19F0(var2"PosY"), function19F0(var2"PosZ"), 4294967295);
                    
dini_IntSet(string"31"pickupid);
                    
function1860(var2"Id"var11);
                    
globCC64++;
                }
        }
    return 
1;

o erro e que diz que o comando nao existe
Reply


Messages In This Thread
[Ajuda] /criarcasa нcone - by atsbs - 02.10.2011, 00:03
Re: /criarcasa нcone - by DrTHE - 02.10.2011, 00:10
Re: /criarcasa нcone - by atsbs - 02.10.2011, 00:19
Re: /criarcasa нcone - by DrTHE - 02.10.2011, 00:20
Re: /criarcasa нcone - by atsbs - 02.10.2011, 00:30
Re: /criarcasa нcone - by DrTHE - 02.10.2011, 00:43
Re: /criarcasa нcone - by atsbs - 02.10.2011, 00:50
Re: /criarcasa нcone - by DrTHE - 02.10.2011, 00:51
Re: /criarcasa нcone - by atsbs - 02.10.2011, 00:52
Re: /criarcasa нcone - by DrTHE - 02.10.2011, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)