SA-MP Forums Archive
SAMP Wiki File Mistakes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SAMP Wiki File Mistakes (/showthread.php?tid=661213)



SAMP Wiki File Mistakes - playstores - 26.11.2018

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


Re: SAMP Wiki File Mistakes - OKStyle - 26.11.2018

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.


Re: SAMP Wiki File Mistakes - J0sh... - 26.11.2018

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.


Re: SAMP Wiki File Mistakes - playstores - 01.12.2018

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