Need help with a command - 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: Need help with a command (
/showthread.php?tid=508327)
Need help with a command -
Rockyyy - 21.04.2014
Hey I need a small help with the CMD
Код:
dcmd_vfix(playerid,params[]){
#pragma unused params
if(ServerInfo[Fix]==0){
CommandDisabled(playerid);
return 0;}
if(Account[playerid][pVip]>=1) if(ServerInfo[Fix]==1){
GetPlayerName(playerid,pname,sizeof(pname));
if(IsPlayerInAnyVehicle(playerid)){
if(AllowFixing[playerid]==true){
RepairVehicle(GetPlayerVehicleID(playerid));
GameTextForPlayer(playerid, "~g~Vehicle Fixed", 3000, 0);
SendClientMessageToAll(0x26E810FF,"[V.I.P]%s has fixed his Vehicle");}}
else{
SendClientMessage(playerid,COLOR_LIGHTRED,LanguageText[74]);
return 1;}}
return 1;}
After I use it the server shut down.
Re: Need help with a command -
RunAways - 21.04.2014
<Removed>
Re: Need help with a command -
Rockyyy - 21.04.2014
Here is the crash info
Код:
--------------------------
SA-MP Server: 0.3z
Exception At Address: 0x00497F00 Module: (samp-server.exe)
Registers:
EAX: 0x492E565B EBX: 0x02DC6173 ECX: 0x7FFFFFFE EDX: 0x0012F35E
ESI: 0x0012EFC0 EDI: 0x0012F785 EBP: 0x00000000 ESP: 0x0012F048
EFLAGS: 0x00010202
Stack:
+0000: 0x004B2CF0 0xFFFFFFFF 0x00000000 0x776222C6
+0010: 0x76D644D3 0x776222C6 0x76D644EB 0x0012F248
+0020: 0x006401C4 0x06000006 0x02171420 0x00000000
+0030: 0x000009BB 0x01339EE0 0x00000000 0x00000006
+0040: 0x00000080 0x00000000 0xFFFF0000 0x00640093
+0050: 0x012D0358 0x013CFFC8 0x00000001 0x00000006
+0060: 0x00000002 0x0000000B 0x00000000 0x02171420
+0070: 0x0217141B 0x00000000 0x008B0EA8 0x00000001
+0080: 0x0012EFA0 0x00000001 0x0012EFA8 0x0012F714
+0090: 0x004A532B 0xFFFFFFFF 0x6401A8C0 0x0045ABB3
+00A0: 0x004B2110 0x0012F209 0x00000198 0x00000001
+00B0: 0x0012EFD0 0x00000001 0x0012EFD8 0x0012F744
+00C0: 0x004A532B 0xFFFFFFFF 0x6401A8C0 0x0045ABB3
+00D0: 0x004B2110 0x0012F239 0x00000190 0x00000001
+00E0: 0x00000008 0x00000003 0x6401A8C0 0x0000FC5B
+00F0: 0x00000190 0x00000000 0xFFFFFFFF 0xFFFFFFFF
+0100: 0x00000000 0x004521B8 0x004B2110 0x0012F239
+0110: 0x00000190 0x00000001 0x00000008 0x00000003
+0120: 0x6401A8C0 0x0000FC5B 0x00000000 0x00000000
+0130: 0xFFFFFFFF 0xFFFFFFFF 0x00000000 0x00000008
--------------------------
Loaded Modules:
samp-server.exe A: 0x00400000 - 0x004F5000 (G:\New Folder (3)\samp-server.exe)
ntdll.dll A: 0x775D0000 - 0x7770D000 (C:\Windows\SYSTEM32\ntdll.dll)
kernel32.dll A: 0x76330000 - 0x76404000 (C:\Windows\system32\kernel32.dll)
KERNELBASE.dll A: 0x75860000 - 0x758AB000 (C:\Windows\system32\KERNELBASE.dll)
SHELL32.dll A: 0x76980000 - 0x775C9000 (C:\Windows\system32\SHELL32.dll)
msvcrt.dll A: 0x76220000 - 0x762CC000 (C:\Windows\system32\msvcrt.dll)
SHLWAPI.dll A: 0x762D0000 - 0x76327000 (C:\Windows\system32\SHLWAPI.dll)
GDI32.dll A: 0x76680000 - 0x766CE000 (C:\Windows\system32\GDI32.dll)
USER32.dll A: 0x76520000 - 0x765E9000 (C:\Windows\system32\USER32.dll)
LPK.dll A: 0x75DD0000 - 0x75DDA000 (C:\Windows\system32\LPK.dll)
USP10.dll A: 0x76410000 - 0x764AD000 (C:\Windows\system32\USP10.dll)
WSOCK32.dll A: 0x70490000 - 0x70497000 (C:\Windows\system32\WSOCK32.dll)
WS2_32.dll A: 0x764C0000 - 0x764F5000 (C:\Windows\system32\WS2_32.dll)
RPCRT4.dll A: 0x760B0000 - 0x76151000 (C:\Windows\system32\RPCRT4.dll)
NSI.dll A: 0x75F00000 - 0x75F06000 (C:\Windows\system32\NSI.dll)
WINMM.dll A: 0x737C0000 - 0x737F2000 (C:\Windows\system32\WINMM.dll)
IMM32.DLL A: 0x75C20000 - 0x75C3F000 (C:\Windows\system32\IMM32.DLL)
MSCTF.dll A: 0x76750000 - 0x7681C000 (C:\Windows\system32\MSCTF.dll)
streamer.DLL A: 0x6B160000 - 0x6B19E000 (G:\New Folder (3)\plugins\streamer.DLL)
MSVCP100.dll A: 0x6B0F0000 - 0x6B159000 (C:\Windows\system32\MSVCP100.dll)
MSVCR100.dll A: 0x64FA0000 - 0x6505F000 (C:\Windows\system32\MSVCR100.dll)
sscanf.DLL A: 0x10000000 - 0x1000D000 (G:\New Folder (3)\plugins\sscanf.DLL)
dbghelp.dll A: 0x6F890000 - 0x6F97B000 (C:\Windows\system32\dbghelp.dll)
mswsock.dll A: 0x74F70000 - 0x74FAC000 (C:\Windows\system32\mswsock.dll)
wshtcpip.dll A: 0x747D0000 - 0x747D5000 (C:\Windows\System32\wshtcpip.dll)
NLAapi.dll A: 0x73780000 - 0x73790000 (C:\Windows\system32\NLAapi.dll)
DNSAPI.dll A: 0x74E30000 - 0x74E74000 (C:\Windows\system32\DNSAPI.dll)
winrnr.dll A: 0x6FC30000 - 0x6FC38000 (C:\Windows\System32\winrnr.dll)
napinsp.dll A: 0x6FC60000 - 0x6FC70000 (C:\Windows\system32\napinsp.dll)
sechost.dll A: 0x76500000 - 0x76519000 (C:\Windows\SYSTEM32\sechost.dll)
pnrpnsp.dll A: 0x6FC40000 - 0x6FC52000 (C:\Windows\system32\pnrpnsp.dll)
IPHLPAPI.DLL A: 0x735F0000 - 0x7360C000 (C:\Windows\system32\IPHLPAPI.DLL)
WINNSI.DLL A: 0x735E0000 - 0x735E7000 (C:\Windows\system32\WINNSI.DLL)
rasadhlp.dll A: 0x6FC20000 - 0x6FC26000 (C:\Windows\system32\rasadhlp.dll)
CRYPTBASE.dll A: 0x756E0000 - 0x756EC000 (C:\Windows\system32\CRYPTBASE.dll)
uxtheme.dll A: 0x741B0000 - 0x741F0000 (C:\Windows\system32\uxtheme.dll)
PROPSYS.dll A: 0x741F0000 - 0x742E5000 (C:\Windows\system32\PROPSYS.dll)
OLEAUT32.dll A: 0x765F0000 - 0x7667F000 (C:\Windows\system32\OLEAUT32.dll)
ADVAPI32.dll A: 0x77710000 - 0x777B0000 (C:\Windows\system32\ADVAPI32.dll)
comctl32.dll A: 0x752B0000 - 0x7544E000 (C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\comctl32.dll)
apphelp.dll A: 0x75690000 - 0x756DB000 (C:\Windows\system32\apphelp.dll)
CLBCatQ.DLL A: 0x76190000 - 0x76213000 (C:\Windows\system32\CLBCatQ.DLL)
iertutil.dll A: 0x75A60000 - 0x75C19000 (C:\Windows\system32\iertutil.dll)
urlmon.dll A: 0x75C40000 - 0x75D51000 (C:\Windows\system32\urlmon.dll)
WININET.dll A: 0x75DE0000 - 0x75EFB000 (C:\Windows\system32\WININET.dll)
Normaliz.dll A: 0x75DC0000 - 0x75DC3000 (C:\Windows\system32\Normaliz.dll)
SETUPAPI.dll A: 0x75F10000 - 0x760AD000 (C:\Windows\system32\SETUPAPI.dll)
CFGMGR32.dll A: 0x75830000 - 0x75857000 (C:\Windows\system32\CFGMGR32.dll)
DEVOBJ.dll A: 0x757E0000 - 0x757F2000 (C:\Windows\system32\DEVOBJ.dll)
ntmarta.dll A: 0x73930000 - 0x73951000 (C:\Windows\system32\ntmarta.dll)
WLDAP32.dll A: 0x777B0000 - 0x777F5000 (C:\Windows\system32\WLDAP32.dll)
profapi.dll A: 0x75760000 - 0x7576B000 (C:\Windows\system32\profapi.dll)
Secur32.dll A: 0x75650000 - 0x75658000 (C:\Windows\system32\Secur32.dll)
SSPICLI.DLL A: 0x75670000 - 0x7568A000 (C:\Windows\system32\SSPICLI.DLL)
Re: Need help with a command -
Rockyyy - 21.04.2014
anyone? I'm stuck at this