Niels Posted December 19, 2004 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? OMG!
Bungle Posted December 19, 2004 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) } } }
Aeron Posted December 19, 2004 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 "Never argue with an idiot. They bring you down to their level and beat you with experience." "Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."
[XII]Fexsi0n Posted December 20, 2004 Posted December 20, 2004 Mmh.. Could u PM it to me as well Aeron?
Oli Posted December 20, 2004 Posted December 20, 2004 lmao.. i dont think u want that pm Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
Shib Posted December 20, 2004 Posted December 20, 2004 lol no wonder nivko is askin scripting help every 5 fuckin mins..... he's 12
Recommended Posts