Niels Posted December 19, 2004 Share Posted December 19, 2004 on *:SIGNAL:mta.kill: { if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Phils-Place Little-Haiti Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Secret-Service-Spawn Ocean-Beach Vice-City-Beach) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Spawn Viceport Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Terminal Escobar-International Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Sailor-Spawn Viceport Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } } Why is this don't work? Link to comment
Bungle Posted December 19, 2004 Share Posted December 19, 2004 show us the mta.1warnkick alias also.. there are loads of } bracket mismatches in there for instance.. if $readini(sp.ini,sp,sp) { (you only need to display it once, seeing as it's the same bit of code for every section you have there) on *:SIGNAL:mta.kill: { if $readini(sp.ini,sp,sp) { if ($mta.area($1,$2) == Phils-Place Little-Haiti Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if ($mta.area($1,$2) == Secret-Service-Spawn Ocean-Beach Vice-City-Beach) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if ($mta.area($1,$2) == Spawn Viceport Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if ($mta.area($1,$2) == Terminal Escobar-International Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } if ($mta.area($1,$2) == Sailor-Spawn Viceport Vice-City-Mainland) { mta.1warnkick $1- Killing in this area is don't allowed! (Spawnkill) } } } Link to comment
Aeron Posted December 19, 2004 Share Posted December 19, 2004 You can work better with a kick script if they player kills within 15-seconds since victem spawned. You can find it in ur PM Link to comment
[XII]Fexsi0n Posted December 20, 2004 Share Posted December 20, 2004 Mmh.. Could u PM it to me as well Aeron? Link to comment
Oli Posted December 20, 2004 Share Posted December 20, 2004 lmao.. i dont think u want that pm Link to comment
[XII]Fexsi0n Posted December 20, 2004 Share Posted December 20, 2004 Lol... I get the point ... Link to comment
Shib Posted December 20, 2004 Share Posted December 20, 2004 lol no wonder nivko is askin scripting help every 5 fuckin mins..... he's 12 Link to comment
Recommended Posts