SA-MP Forums Archive
Pawno.exe crash when entering new ex = ex - 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: Pawno.exe crash when entering new ex = ex (/showthread.php?tid=655835)



Pawno.exe crash when entering new ex = ex - FenilX - 30.06.2018

Hello guys i get my pawno crashed
im new to scripting
im adding a menu so i have to instert a new line idk whats its name
i tryd droping to other folders like gamemodeinit .ect
i have also get crash on few other scripts too when entering
new something = something(

#include <a_samp>
#include <core>
#include <float>
#include "../include/gl_common.inc"
#include "../include/gl_spawns.inc"
#include <sscanf2>
#include <zcmd>
#include <YSI\y_ini>
#include <TimeStampToDate>
//#include <crashdetect>
#include <mSelection>

new total_vehicles_from_files=0;
//Here
new Menu:CurrentMenu = GetPlayerMenu(playerid); //Codes i get as undenifyd symbol playerid
new Menu:Wheels; //Code i get Crash


Re: Pawno.exe crash when entering new ex = ex - FenilX - 02.07.2018

Quote:
Originally Posted by ******
Посмотреть сообщение
You can't have function calls outside other functions - you need to put that inside a callback or something.
if i put it in a call back
it cant be used for other callbacks how can that be fixed ?