Simple CTF system. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Simple CTF system. (
/showthread.php?tid=123095)
Simple CTF system. -
[dN]Eagle - 24.01.2010
Alright,
I want to create this simple "CTF" system, if a player enters the enemy's checkpoint a message pops up they stole the enemys briefcase and they have to bring the briefcase back alive to their own checkpoint, their teamscore will increase with +1 and playerscore +10 (I know how to do team and playerscore and message btw).
Could someone give me some guidelines?
Re: Simple CTF system. -
[dN]Eagle - 24.01.2010
Main post edited.
Re: Simple CTF system. -
[dN]Eagle - 24.01.2010
Someone?
Re: Simple CTF system. -
Bl4ck J0k3r - 24.01.2010
Triple Post ... GOOD
Re: Simple CTF system. -
[dN]Eagle - 24.01.2010
If you can't help me, why bother posting?
Re: Simple CTF system. -
LuxurioN™ - 24.01.2010
In GameMode
"rivershell" you will find a good example of what you want!
Re: Simple CTF system. -
[dN]Eagle - 25.01.2010
I read the script 4 times but I didn't understand a shit how to change it to an object/checkpoint.
Re: Simple CTF system. -
bluray - 25.01.2010
hey this is a really simple one and probably will have glitches and bugs to it, but u could use this. (i hope u know ur basic stuff)
Um first create to checkpoints, and have 2 teams, on each checkpoint just for keep sake name them. then do a if statement, at onPLayerEnterCheckpoint
like if(gTeam_ENEMY)
give them a package like the drug bundle pickup, that they need. if they die delete all pickups, if they go back to the other check point, check if they have a pickup, if they do give all gteam players money, or weapons.
if they walk into their own chrckpoint say defend this zone.
hopes this helps and gives u a idea to start with
Re: Simple CTF system. -
[dN]Eagle - 25.01.2010
I changed by mind and switched to an object (ID 2993).
It's now fully working
Thanks for the guidelines, it made me think.