22.10.2018, 08:33
(
Последний раз редактировалось Cothect; 22.10.2018 в 09:20.
)
The idea is good, but the code has errors...
- In the first line the comment is missing a /.
- In the line 73 you load the interior but it does not set the interior for the player.
- In the /deleteteleport command you should verify if the teleport exists.
Other things..
Why don't you use 0 instead of SIN_USO?
Why don't you define the dialog id with #define?
You do not need to create a stock to use it once.
And.. the identation..
![](https://i.imgur.com/NVeHmTo.png?1)
Ame los nombres de las variables
- In the first line the comment is missing a /.
- In the line 73 you load the interior but it does not set the interior for the player.
- In the /deleteteleport command you should verify if the teleport exists.
Other things..
Код:
new enum { SIN_USO, DIALOG_TELESXD, }
Why don't you define the dialog id with #define?
Код:
stock Nombre(playerid){ new namek[24]; GetPlayerName(playerid,namek,sizeof(namek)); return namek;}
And.. the identation..
![](https://i.imgur.com/NVeHmTo.png?1)
Ame los nombres de las variables
![tongue](images/smilies/razz.gif)