Raised This Month: $ Target: $400
 0% 

I've reach scripting stage they said unreachable ( My projects free give away! )


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 10-31-2014 , 08:08   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#1

Quote:
Originally Posted by zmd94 View Post
Hi, .Dare Devil.. Enjoy your new life!
new life, after reaching the Nirvana Pawnvana ??? weird !!
__________________
ANTICHRISTUS is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-31-2014 , 09:56   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#2

It is not weird. A life after life.
zmd94 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 10-31-2014 , 10:41   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#3

Quote:
Originally Posted by zmd94 View Post
It is not weird. A life after life.
You didn't get it.
__________________
AmineKyo is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 10-31-2014 , 11:53   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#4

life after life ... afterlife?
.Dare Devil. is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-31-2014 , 20:13   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#5

Quote:
Originally Posted by .Dare Devil. View Post
life after life ... afterlife?
zmd94 is offline
hichamera
Senior Member
Join Date: Feb 2014
Location: Algeria
Old 11-07-2014 , 11:59   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#6

Lool I got this Error
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

zSparkle/admin_system.zsh(3) : error 001: expected token: ";", but found "="
zSparkle/admin_system.zsh(81) : error 029: invalid expression, assumed zero
zSparkle/admin_system.zsh(81) : warning 215: expression has no effect
zSparkle/admin_system.zsh(81) : error 001: expected token: ";", but found "return"
zSparkle/admin_system.zsh(81) : warning 215: expression has no effect
zSparkle/admin_system.zsh(81) : error 014: invalid statement; not in switch
zSparkle/admin_system.zsh(81) : fatal error 107: too many error messages on one line

Compilation aborted.
5 Errors.
Could not locate output file D:\Program Files\AMX Mod X\amxxstudio\Untitled.amx (compile failed).
__________________

Try & Try & Try Nothing Is impossible
hichamera is offline
Send a message via Skype™ to hichamera
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-07-2014 , 12:17   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#7

ZSH files cannot be compiled with the AMXX compiler
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-07-2014 , 12:26   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#8

Quote:
Originally Posted by YamiKaitou View Post
ZSH files cannot be compiled with the AMXX compiler
They are just inc files if I'm not wrong and AFAIK the extension of an inc file isn't important and as long as it's a text file you can compile it. Correct me if I'm wrong.
__________________

Last edited by HamletEagle; 11-07-2014 at 12:31.
HamletEagle is offline
hichamera
Senior Member
Join Date: Feb 2014
Location: Algeria
Old 11-07-2014 , 12:56   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#9

HamletEagle
this is zsh
Quote:
new us_access_name[32][32] = {
"access_shield1" = 0, // flag:a
"access_shield2", // flag:b
"access_shield3", // flag:c
"access_shield4", // flag:d
"access_shield_break1", // flag:e
"access_shield_break2", // flag:f
"access_shield_break3", // flag:g
"access_ban", // flag:h
"access_kick", // flag:j
"access_slay", // flag:i
"access_slap", // flag:k
"access_vote", // flag:l
"access_votemap", // flag:m
"access_mute", // flag:n
"access_unban", // flag
"access_reserv", // flag:p
"access_chat", // flag:q
"access_hudchat", // flag:r
"access_developer", // flag:s
"access_sparkle", // flag:t
"access_admin_lord", // flag:M
"access_admin_queen", // flag:u
"access_admin", // flag
"access_neon_vip", // flag:y
"access_vip", // flag:z
"access_a", // flag:A
"access_b", // flag:B
"access_c", // flag:C
"access_d", // flag
"access_e", // flag:E
"access_f", // flag:F
"access_g" // flag:G
}


enum {
access_shield1 = 0, // flag:a
access_shield2, // flag:b
access_shield3, // flag:c
access_shield4, // flag:d
access_shield_break1, // flag:e
access_shield_break2, // flag:f
access_shield_break3, // flag:g
access_ban, // flag:h
access_kick, // flag:j
access_slay, // flag:i
access_slap, // flag:k
access_vote, // flag:l
access_votemap, // flag:m
access_mute, // flag:n
access_unban, // flag
access_reserv, // flag:p
access_chat, // flag:q
access_hudchat, // flag:r
access_developer, // flag:s
access_sparkle, // flag:t
access_admin_lord, // flag:M
access_admin_queen, // flag:u
access_admin, // flag
access_neon_vip, // flag:y
access_vip, // flag:z
access_a, // flag:A
access_b, // flag:B
access_c, // flag:C
access_d, // flag
access_e, // flag:E
access_f, // flag:F
access_g // flag:G
}

#define access_admins_lord access_admin_lord
#define access_admins_queen access_admin_queen
new us_username[33][26], us_password[33][26], us_lang[33], us_tryindex[33], Float:us_starttime[33], us_index[33] = { -1, ... }

stock us_to_flag( in )
{
switch(in)
{
case: 'a' return 0; case: 'b' return 1; case: 'c' return 2; case: 'd' return 3; case: 'e' return 4; case: 'f' return 5
case: 'g' return 6; case: 'h' return 7; case: 'j' return 8; case: 'i' return 9; case: 'k' return 10; case: 'l' return 11;
case: 'm' return 12; case: 'n' return 13; case: 'o' return 14; case: 'p' return 15; case: 'q' return 16; case: 'r' return 17
case: 's' return 18; case: 't' return 19; case: 'M' return 20; case: 'u' return 21; case: 'x' return 22; case: 'y' return 23
case: 'z' return 24; case: 'A' return 25; case: 'B' return 26; case: 'C' return 27; case: 'D' return 28; case: 'E' return 29
case: 'F' return 30; case: 'G' return 31
}
return -1
}

stock us_get_flags( in[] )
{
new a, flags, n
for( a = 0; a < 34; a++ )
{
if( !in[a] ) break
n = us_to_flag(in[a])
if( n != -1 ) flags |= ( 1 << n);
}
return flags
}

stock us_can( id, id2 )
{
if( us_shield_break_level( id ) >= us_shield_level( id2 ) ) return 1
return 0
}

stock us_shield_break_level( id )
{
if( us_access(id, access_shield_break3 ) ) return 3
if( us_access(id, access_shield_break2 ) ) return 2
if( us_access(id, access_shield_break1 ) ) return 1
return 0
}

stock us_shield_level( id )
{
if( us_access(id, access_shield4 ) ) return 4
if( us_access(id, access_shield3 ) ) return 3
if( us_access(id, access_shield2 ) ) return 2
if( us_access(id, access_shield1 ) ) return 1
return 0
}

stock us_access( id, flag )
{
if( us_index[id] == -1 ) return 0
if( zsm_get( us_index[id], d_admin_flags ) & ( 1 << flag) ) return 1
return 0
}


stock us_set_access( id, flag, const status = 1 )
{
if( us_index[id] == -1 ) return
static flags;
flags = zsm_get( us_index[id], d_admin_flags )

if(status) flags |= ( 1 << flag )
else flags &= ~( 1 << flag )
zsm_set( us_index[id], d_admin_flags, flags )
}

stock us_access2( index, flag )
{
if( index == -1 ) return 0
if( zsm_get( index, d_admin_flags ) & ( 1 << flag) ) return 1
return 0
}

stock cfg_access( id, any:cfgid, const item = 0 )
{
if( cfg_itemtype[cfgid + 2000] == cfg_tmultiaccess )
{
if( zsm_get( us_index[id], d_admin_flags ) & ArrayGetCell( cfg[cfgid + 2000], item ) ) return 1
return 0
}
if( zsm_get( us_index[id], d_admin_flags ) & cfg[cfgid + 2000] ) return 1
return 0
}

stock cfg_access2( index, any:cfgid, const item = 0 )
{
if( cfg_itemtype[cfgid + 2000] == cfg_tmultiaccess )
{
if( zsm_get( index, d_admin_flags ) & ArrayGetCell( cfg[cfgid + 2000], item ) ) return 1
return 0
}
if( zsm_get( index, d_admin_flags ) & cfg[cfgid + 2000] ) return 1
return 0
}

stock us_set_access2( index, flag, const status = 1 )
{
if( index ) return
static flags;
flags = zsm_get( index, d_admin_flags )

if(status) flags |= ( 1 << flag )
else flags &= ~( 1 << flag )
zsm_set( index, d_admin_flags, flags )
}
why no complire where is error ? plss help mé :p
__________________

Try & Try & Try Nothing Is impossible
hichamera is offline
Send a message via Skype™ to hichamera
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-07-2014 , 13:09   Re: I've reach scripting stage they said unreachable ( My projects free give away! )
#10

Quote:
Originally Posted by hichamera View Post
HamletEagle
this is zsh

why no complire where is error ? plss help mé :p
You need to compile the plugin, not the include file.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode