In-Need of a Quick /paytoll! - 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: In-Need of a Quick /paytoll! (
/showthread.php?tid=149667)
In-Need of a Quick /paytoll! -
Nick Deeds - 23.05.2010
I'm in need of a quick /paytoll. So when you do /paytoll at either of the locations below. It will teleport you to the second one. And I want a text that says /paytoll in green. And I want it when you do /paytoll it teleports you to the second co-oord. And takes $5 from you.
/paytoll, at:
1707.3591,446.8237,30.9197,163.3317
Teleport to:
1715.9650,444.2538,30.9067,341.1594
/paytoll, at:
1698.8031,449.2272,30.9175,163.0183
Teleport to:
1698.4948,448.8926,30.9230,341.8094
/paytoll, at:
1720.7648,429.4474,31.0325,340.3667
Teleport to:
1724.4121,441.5487,30.9039,340.5327
/paytoll, at:
1712.3552,433.7086,31.0529,341.9333
Teleport to:
1706.8052,445.7868,30.9353,339.9294
Re: In-Need of a Quick /paytoll! -
Brendan_Thomson - 23.05.2010
Well.. Code it.
pawn Код:
if(strcmp(cmd, "/paytoll", true) == 0)
{
new Float: posx, Float: posy, Float: posz;
GetPlayerPos(playerid, posx, posy, posz);
}
There, I've even started it for you.
If you want people to just flat out code for you, you may want to offer incentive. I'll do it for $5US