WestCoast Posted September 22, 2006 Posted September 22, 2006 Hmm. I Made This Script. But When I Do: !P (Point(s) Set.) !S (Area Saved As ) !Area (Says The Location) the problem is that when i do !p and save some points and then do !s to save area then it just says Vice-City this is what i made: on *:SIGNAL:mta.command: { if (!clear == $3) { !unset %area mta.say $1 Area cleared. } if (!p == $3) { %area = %area $+ $chr(44) $+ $round($mta.location($1,$2,x),4) $+ $chr(44) $+ $round($mta.location($1,$2,y),4) mta.say $1 $calc($count(%area,$chr(44)) /2) point(s) set } if (!s == $3) { var %a if ($did(mta,$1 $+ 33) == GTA:3) !writeini " $+ $scriptdirmta.data.ini" AREA1 $right(%area,-1) $4- elseif ($did(mta,$1 $+ 22) == Stunt) !writeini " $+ $scriptdirmta.data.ini" AREA2 $right(%area,-1) $4- else { !writeini " $+ $scriptdirmta.data.ini" AREA2 $right(%area,-1) $4- !writeini " $+ $scriptdirmta.data.ini" AREA3 $right(%area,-1) $4- } !unset %area mta.say $1 Area saved as " $+ $4-" } if (!a == $3) { mta.say $1 $mta.area($1,$2) } Plz can someone help me. it doesnt saves the area when i do !p and then !s The WestCoast Customs
lil Toady Posted September 23, 2006 Posted September 23, 2006 Man.. wtf, that script is not made by you.. That's Aeron's script however try this on *:SIGNAL:mta.command: { if (!clear == $3) { !unset %area mta.say $1 Area cleared. } if (!p == $3) { %area = %area $+ $chr(44) $+ $round($mta.location($1,$2,x),4) $+ $chr(44) $+ $round($mta.location($1,$2,y),4) mta.say $1 $calc($count(%area,$chr(44)) /2) point(s) set } if (!s == $3) { var %a if ($did(mta,$1 $+ 33) == GTA:3) !writeini " $+ $mta.dir $+ mta.data.ini" AREA1 $right(%area,-1) $4- elseif ($did(mta,$1 $+ 22) == Stunt) !writeini " $+ $mta.dir $+ mta.data.ini" AREA2 $right(%area,-1) $4- else { !writeini " $+ $mta.dir $+ mta.data.ini" AREA2 $right(%area,-1) $4- !writeini " $+ $mta.dir $+ mta.data.ini" AREA3 $right(%area,-1) $4- } !unset %area mta.say $1 Area saved as " $+ $4-" } if (!a == $3) mta.say $1 $mta.area($1,$2) } Do not PM me, im not going to read it anyway.
WestCoast Posted September 23, 2006 Author Posted September 23, 2006 Thnx Very Much But When I Type !Clear, then the place is still the same. and i think there are some bugs in it cause when itype !area it doesnt say something and just 3 hours ago it works but now it doesnt sorry but thnx anyway The WestCoast Customs
Jani Posted September 23, 2006 Posted September 23, 2006 You didn't make that script you little bastard. Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
lil Toady Posted September 23, 2006 Posted September 23, 2006 !clear doesn't remove the saved area.. It removes the points you set untill you saved the area.. P.S: f*ckin admit that not you made the script! that pisses me off when people say that they made something when they did not Do not PM me, im not going to read it anyway.
MeanpantheR Posted September 23, 2006 Posted September 23, 2006 agreed, I don't see why anybody should help someone who takes credit for other peoples work... MTA Server Hosting (pm me for details!) VCES / SAES Clan Member - VCES.net
Tommis Posted September 23, 2006 Posted September 23, 2006 Heh, Let the plageriser stick with his own problems. I wouldnt help a person that doesent recognize other peoples hard work. Ah well, there will always be people like that in life. Cya, Tommis Best game server hosting. America East&West Coast, and many European locations available. Click on the above link to check us out!
Recommended Posts