Help chras :S
#1

Hello i have a problem my server is chrasing down when i write /team her is my chras info


SA-MP Server: 0.3c



Exception At Address: 0x004A75C8



Registers:

EAX: 0x20732520 EBX: 0x0245F073 ECX: 0x7FFFFFFE EDX: 0x0012ED18

ESI: 0x0012E980 EDI: 0x0012F13F EBP: 0x0012E9CC ESP: 0x0012E940

EFLAGS: 0x00010202



Stack:

+0000: 0x0012F118 0x0012ED18 0x0245F05C 0x00000003

+0010: 0x0012E944 0x0000000A 0x0012E98C 0x00000007

+0020: 0x00000000 0x00B61FA0 0x00000000 0x00000000

+0030: 0x00000000 0x00000000 0x00000000 0x00000000

+0040: 0x00000001 0x00000000 0x20732520 0xFFFFFFFF

+0050: 0x00000000 0x004C1590 0xFFFFFFFF 0x004A692E

+0060: 0x004A232B 0x00000003 0x00B64858 0x0000002B

+0070: 0x004A6A9C 0x00B62438 0x0012E9F8 0x004A25E4

+0080: 0x00000013 0x004A24A8 0x004E5550 0x004A249F

+0090: 0x01DD04F8 0xBEE55805 0xBEE5F105 0x00000000

+00A0: 0x0012E9D0 0x00000100 0x0012F84C 0x004A6BC4

+00B0: 0x004C1178 0xFFFFFFFF 0x004A249F 0x004978E3

+00C0: 0x004E5550 0x4DCE36A3 0x6168635B 0x5B205D74

+00D0: 0x6F6E694E 0x726F485F 0x5D746176 0x6F6F203A

+00E0: 0x6E206F6F 0x006F6E69 0x00B6AB90 0x00000041

+00F0: 0x024602B8 0x00000024 0x00000000 0x0012EBF0

+0100: 0x00C803A0 0x016F0000 0x00000008 0x00000000

+0110: 0x00000008 0x0012EC08 0x00C80178 0x00465429

+0120: 0x00000008 0x00000000 0x0012EA78 0x00000000

+0130: 0x7C9100B8 0x00C8FD98 0x0012EB44 0x7C910041


Pleas im beging for help

P.S sorry for my bad english
Reply
#2

can you show us your
/team Commadn script pls
Reply
#3

COMMAND:team(playerid,params[])
{
ShowPlayerDialog(playerid, 243, DIALOG_STYLE_LIST, "Biranje Team", "Lost\nTheCartel", "Odabir", "Izlaz");
SendClientMessageToAll(color_yellow, " %s se prebacio u drugi TEAM!Ukolko se radi o zlouporabi teleporta kazna 10minuta zatvora");
return 1;
}

and her is the dialog ...

if(response)
{
if(listitem == 0) //
{
SetPlayerPos(playerid, 5984.5923,-1077.7035,2.2899);
TogglePlayerControllable(playerid, false);
GivePlayerWeapon(playerid, 8, 1);
SendClientMessage(playerid, ORANGE, "Odabrali ste Lost!Za budit se pisi /budise!");
SetPlayerTeam(playerid, 1);
SetPlayerColor(playerid, ORANGE);
SetPlayerSkin(playerid, 250);
}
if(listitem == 1) //
{
SetPlayerPos(playerid, 5225.3193,-1223.3462,22.5500);
TogglePlayerControllable(playerid, false);
GivePlayerWeapon(playerid, 24, 6);
SendClientMessage(playerid, GREEN, "Odabrali ste TheCartel!Za budit se pisi /budise!");
SetPlayerTeam(playerid, 1);
SetPlayerColor(playerid, GREEN);
SetPlayerSkin(playerid, 234);
}

help me

P.S park4 the free hosting do you host samp servers ?
Reply
#4

Quote:
Originally Posted by Djankaa
Посмотреть сообщение
pawn Код:
COMMAND:team(playerid,params[])
{
    ShowPlayerDialog(playerid, 243, DIALOG_STYLE_LIST, "Biranje Team", "Lost\nTheCartel", "Odabir", "Izlaz");
    SendClientMessageToAll(color_yellow, " %s se prebacio u drugi TEAM!Ukolko se radi o zlouporabi teleporta kazna 10minuta zatvora");
    return 1;
}
are you trying to get the players name by [%s] or something else ?

AND
Quote:
Originally Posted by Djankaa
Посмотреть сообщение
P.S park4 the free hosting do you host samp servers ?
no sorry
Reply
#5

yes with %s do i make mistake ? pleas how to get his name !
Reply
#6

Try This

pawn Код:
COMMAND:team(playerid,params[])
{
    ShowPlayerDialog(playerid, 243, DIALOG_STYLE_LIST, "Biranje Team", "Lost\nTheCartel", "Odabir", "Izlaz");
    new name[MAX_PLAYER_NAME],string[128];
    GetPlayerName(playerid,name,sizeof(name));
    format(string,sizeof(string)," %s se prebacio u drugi TEAM!Ukolko se radi o zlouporabi teleporta kazna 10minuta zatvora",name);
    SendClientMessageToAll(color_yellow, string);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)