- create an explosion?
#1

- I want to create an explosion in a default location?
- example not work
PHP код:
CMD:exp(playeridparams[])
{
        
CreateExplosion(1528.4355,-1704.9825,34.2528,430.0);
        return 
1;

- i do not want Create an explosion at the player's position,which it create an explosion in a default location?

. sorry for my bad english
Reply
#2

What? Try to explain it better .-.
Reply
#3

Quote:
Originally Posted by ReshiramZekrom
Посмотреть сообщение
What? Try to explain it better .-.
- Create explosion at pos xyz 1528.4355,-1704.9825,34.2528 .
- Do not Create an explosion at the player's position
Reply
#4

If you are creating an explode command for admin system copy it from someones admin system but dont forget to add his credits
Reply
#5

first of all goto in game and type /save where you want to create explosion then find your X, Y, Z cords at

My Documents > GTA San Andreas Userfiles > SAMP > savedpositions.txt

take the cords and create code

PHP код:
CreateExplosion(xyztypeFloat:radius); 
Reply
#6

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
first of all goto in game and type /save where you want to create explosion then find your X, Y, Z cords at

My Documents > GTA San Andreas Userfiles > SAMP > savedpositions.txt

take the cords and create code

PHP код:
CreateExplosion(xyztypeFloat:radius); 
- No work
Reply
#7

Or use a sscanf, for explode players
Reply
#8

Quote:
Originally Posted by ActionTanki91
Посмотреть сообщение
Or use a sscanf, for explode players
- No Create an explosion at the player's position .
- create an explosion in a default location?
Reply
#9

Quote:
Originally Posted by quochuy
Посмотреть сообщение
- No Create an explosion at the player's position .
- create an explosion in a default location?
PHP код:
new
     
FloatX,
     
FloatY,
     
FloatZ
;
GetPlayerPos(playeridXYZ);
CreateExplosion(XYZ610.0); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)