[REQ]GameMode_Command - 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: [REQ]GameMode_Command (
/showthread.php?tid=214589)
[REQ]GameMode_Command -
gabrissxxx - 21.01.2011
Hi guys. Today I wanted to ask new commands for my gamemode. I recommend that you know to put commands? If you know tell me also put me a guide on how to create the command. Then I need the command to blow up the player, take them from you, and go to them. Who is kind enough to post a better answer?
Re: [REQ]GameMode_Command -
Kwarde - 21.01.2011
Read this:
https://sampforum.blast.hk/showthread.php?tid=177490 
It explains how to make commands.
1. This forum requires that you wait 60 seconds between posts. Please try again in 14 seconds.
Ahw c'mon
Re: [REQ]GameMode_Command -
gabrissxxx - 21.01.2011
It is these commands are easy, but I want those listed above. Please help
Re: [REQ]GameMode_Command -
Kwarde - 21.01.2011
Oh wait I didn't see it 100% xD
Explode:
Код:
1) Get Player pos from params (use strtok for params)
2) Create explosion at the player's post (X,Y,Z)
Get:
Код:
1) Get your own pos
2) Teleport player from params (strtok) to that pos
Go to:
Код:
1) Get player pos from params (strtok)
2) Set your own pos to that
Get Player Pos:
GetPlayerPos(playerid, &Float:X, &Float:Y, &Float:Z);
Set Player Pos:
SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
Create Explosion:
CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:radius);
Re: [REQ]GameMode_Command -
gabrissxxx - 21.01.2011
explain the "TYPE" in CreateExplosion
Re: [REQ]GameMode_Command -
Kwarde - 21.01.2011
wiki wiki wiki <3
https://sampwiki.blast.hk/wiki/CreateExplosion
There's a link: "types":
https://sampwiki.blast.hk/wiki/Explosion_List
Biggest explosion is type 7, 12 is the smallest
Re: [REQ]GameMode_Command -
gabrissxxx - 22.01.2011
Mmmh orrible discussion.Help me