[REQ]GameMode_Command
#1

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?
Reply
#2

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
Reply
#3

It is these commands are easy, but I want those listed above. Please help
Reply
#4

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);
Reply
#5

explain the "TYPE" in CreateExplosion
Reply
#6

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
Reply
#7

Mmmh orrible discussion.Help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)