Делаю компеляцию мода и выдаёт такую ошибку:

new.pwn(19161) : error 029: invalid expression, assumed zero
new.pwn(19161) : warning 215: expression has no effect
new.pwn(19161) : error 001: expected token: ";", but found "if"
new.pwn(19161) : error 017: undefined symbol "DSM"
new.pwn(19161) : fatal error 107: too many error messages on one line

19161 сама строка:

else if(pickupid == scooter) SPD(playerid,28,DSM,"Аренда скутера","Аренда скутера: 200$\nВы действительно хотите арендовать скутер?","Да","Нет");

Share this post

Link to post

2 answers to this question

  • 0

Вот правильная строка 

else if(pickupid == scooter) SPD(playerid, DSM, 1, "Аренда скутера",
"Аренда скутера: 200$\n
Вы действительно хотите арендовать скутер?",
"Да", "Нет");

так же создайте enum 

enum dialogs



Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now