Code:
[19:13:28] [debug] AMX backtrace: [19:13:28] [debug] #0 native TextDrawShowForPlayer () from samp7003_5374 [19:13:28] [debug] #1 000c9b80 in BoxMSG (text[][email protected] "~w~~h~carljohn16 ~w~ has joined the server.") at C:\Users\Seif\Desktop\test server\gamemodes\CodWawMSQ2.pwn:7280 [19:13:28] [debug] #2 000a6c04 in public MP_OPC (playerid=7) at C:\Users\Seif\Desktop\test server\gamemodes\CodWawMSQ2.pwn:5043 [19:13:28] [debug] #3 native CallLocalFunction () from samp7003_5374 [19:13:28] [debug] #4 0000cbf0 in public Itter_OnPlayerConnect (playerid=7) at C:\Users\Seif\Desktop\test server\pawno\include\mSelection.inc:432 [19:13:28] [debug] #5 00008130 in public SSCANF_OnPlayerConnect (playerid=7) at C:\Users\Seif\Desktop\test server\pawno\include\YSI\y_iterate.inc:646 [19:13:28] [debug] #6 native CallLocalFunction () from samp7003_5374 [19:13:28] [debug] #7 0000099c in public OnPlayerConnect (playerid=7) at C:\Users\Seif\Desktop\test server\pawno\include\sscanf2.inc:113 [19:13:28] [debug] Native backtrace: [19:13:28] [debug] #0 b7474e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [19:13:28] [debug] #1 b746dbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [19:13:28] [debug] #2 b746edbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [19:13:28] [debug] #3 b746f226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [19:13:28] [debug] #4 b7474adc in ?? () from plugins/crashdetect.so [19:13:28] [debug] #5 b7746600 in ?? () [19:13:28] [debug] #6 b74c3417 in gsignal () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #7 b74c6802 in abort () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #8 b74fe7bd in ?? () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #9 b75088ea in ?? () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #10 b750a148 in ?? () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #11 b750d2cd in cfree () from /lib/i386-linux-gnu/libc.so.6 [19:13:28] [debug] #12 080d3697 in ?? () from ./samp7003_5374 [19:13:28] [debug] #13 0808ebdb in ?? () from ./samp7003_5374 [19:13:28] [debug] #14 08074846 in ?? () from ./samp7003_5374 [19:13:28] [debug] #15 080763fe in ?? () from ./samp7003_5374 [19:13:28] [debug] #16 b7722954 in ?? () from /lib/i386-linux-gnu/libpthread.so.0 [19:13:28] [debug] #17 b7571d1e in clone () from /lib/i386-linux-gnu/libc.so.6
Code:
stock BoxMSG(const text[])
{
for(new line; line < 5; line++)
{
foreach(new i : Player)
{
if(tdsshown[i])
{
TextDrawShowForPlayer(i, BoxDraw[line]); //line 7280
}
}
}
for(new line; line < 5; line++)
{
TextDrawHideForAll(BoxDraw[line]);
if(line < 4)
{
BoxDrawStr[line] = BoxDrawStr[line+1];
TextDrawSetString(BoxDraw[line], BoxDrawStr[line]);
}
}
format(BoxDrawStr[4], 256, "%s",text);
TextDrawSetString(BoxDraw[4], BoxDrawStr[4]);
for(new line; line < 5; line++)
{
foreach(new i : Player)
{
if(tdsshown[i])
{
TextDrawShowForPlayer(i, BoxDraw[line]);
}
}
}
return 1;
}
Code:
BoxDraw[0] = TextDrawCreate(456.600250, 373.679962, BoxDrawStr[0]);
TextDrawLetterSize(BoxDraw[0], 0.260798, 1.151998);
TextDrawAlignment(BoxDraw[0], 1);
TextDrawColor(BoxDraw[0], -1);
TextDrawSetShadow(BoxDraw[0], 0);
TextDrawSetOutline(BoxDraw[0], 0);
TextDrawBackgroundColor(BoxDraw[0], 255);
TextDrawFont(BoxDraw[0], 1);
TextDrawSetProportional(BoxDraw[0], 1);
TextDrawSetShadow(BoxDraw[0], 0);
BoxDraw[1] = TextDrawCreate(456.600250, 383.480560, BoxDrawStr[1]);
TextDrawLetterSize(BoxDraw[1], 0.260798, 1.151998);
TextDrawAlignment(BoxDraw[1], 1);
TextDrawColor(BoxDraw[1], -1);
TextDrawSetShadow(BoxDraw[1], 0);
TextDrawSetOutline(BoxDraw[1], 0);
TextDrawBackgroundColor(BoxDraw[1], 255);
TextDrawFont(BoxDraw[1], 1);
TextDrawSetProportional(BoxDraw[1], 1);
TextDrawSetShadow(BoxDraw[1], 0);
BoxDraw[2] = TextDrawCreate(456.600250, 392.981140, BoxDrawStr[2]);
TextDrawLetterSize(BoxDraw[2], 0.260798, 1.151998);
TextDrawAlignment(BoxDraw[2], 1);
TextDrawColor(BoxDraw[2], -1);
TextDrawSetShadow(BoxDraw[2], 0);
TextDrawSetOutline(BoxDraw[2], 0);
TextDrawBackgroundColor(BoxDraw[2], 255);
TextDrawFont(BoxDraw[2], 1);
TextDrawSetProportional(BoxDraw[2], 1);
TextDrawSetShadow(BoxDraw[2], 0);
BoxDraw[3] = TextDrawCreate(456.600250, 402.081695, BoxDrawStr[3]);
TextDrawLetterSize(BoxDraw[3], 0.260798, 1.151998);
TextDrawAlignment(BoxDraw[3], 1);
TextDrawColor(BoxDraw[3], -1);
TextDrawSetShadow(BoxDraw[3], 0);
TextDrawSetOutline(BoxDraw[3], 0);
TextDrawBackgroundColor(BoxDraw[3], 255);
TextDrawFont(BoxDraw[3], 1);
TextDrawSetProportional(BoxDraw[3], 1);
TextDrawSetShadow(BoxDraw[3], 0);
BoxDraw[4] = TextDrawCreate(456.600250, 411.082244, BoxDrawStr[4]);
TextDrawLetterSize(BoxDraw[4], 0.260798, 1.151998);
TextDrawAlignment(BoxDraw[4], 1);
TextDrawColor(BoxDraw[4], -1);
TextDrawSetShadow(BoxDraw[4], 0);
TextDrawSetOutline(BoxDraw[4], 0);
TextDrawBackgroundColor(BoxDraw[4], 255);
TextDrawFont(BoxDraw[4], 1);
TextDrawSetProportional(BoxDraw[4], 1);
TextDrawSetShadow(BoxDraw[4], 0);
Textdraw string update on player connect:
Code:
new stzz[128]; format(stzz,128,"~w~~h~%s ~w~ has joined the server.",GetName(playerid));
BoxMSG(stzz);
Code:
ResetWepz(playerid);
Code:
stock ResetWepz(playerid)
{
ResetPlayerWeapons(playerid);
for(new v=0; v <47; v++)
{
PlayerWep[playerid][v] = 0;
PlayerAmm[playerid][v] = 0;
}
}
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.
Crash Report: Need help
Aucun commentaire:
Enregistrer un commentaire