SAMP Wiki File Mistakes
#1

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

Quote:
Originally Posted by playstores
Посмотреть сообщение
maybe some experienced Scripter can fix that wiki
Whether all accounts have been deleted, or all passwords have been changed - I cannot log in to my account.
Reply
#3

Quote:
Originally Posted by OKStyle
Посмотреть сообщение
Whether all accounts have been deleted, or all passwords have been changed - I cannot log in to my account.
It seems to have been disabled since that script kiddie a month or two ago decided to attack the forums.
Not sure why, maybe Kalcor (if he sees this) can provide insight.
Reply
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
The tags are wrong, which will give a compile-time warning, but that can't cause a server crash.
try it out, it caused a slow server crash
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)