26.11.2018, 15:40
https://sampwiki.blast.hk/wiki/Creating_a_simple_Menu
Can someone fix these mistakes in the Codes ?
For example:
new Menu:TestMenu = -1;
original(wrong):
if(TestMenu == -1)
{
printf("The creation of menu failed!");
return 0;
}
correct:
if(TestMenu == Menu:-1)
{
printf("The creation of menu failed!");
return 0;
}
can't find other mistakes, but the server crashes if I use it,
maybe some experienced Scripter can fix that wiki
Can someone fix these mistakes in the Codes ?
For example:
new Menu:TestMenu = -1;
original(wrong):
if(TestMenu == -1)
{
printf("The creation of menu failed!");
return 0;
}
correct:
if(TestMenu == Menu:-1)
{
printf("The creation of menu failed!");
return 0;
}
can't find other mistakes, but the server crashes if I use it,
maybe some experienced Scripter can fix that wiki