Hallo
Ich habe gerade einen Spamm Befehl gescriptet doch wenn ich /spamm und die id des users eingebe passiert es immer an mir
hoffe mir kann jemand helfen
Code
if(strcmp(cmd, "/spamm", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1339)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Nutze: /spamm [playerid]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1339)
{
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
SendClientMessage(playerid, WHITE, " Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0BF7!");
GameTextForPlayer(playerid,"~r~You are owned by the Server hahahaha",60000,3);
M_Kick(playerid);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Das darfst du nicht tun!");
}
}
return 1;
}
Alles anzeigen