11.06.2012, 11:17
lslrp.pwn(19436) : error 047: array sizes do not match, or destination array is too small
if(strcmp(cmd, "/trunk", true) == 0) // By Night-life
{
if(IsPlayerConnected(playerid))
{
new x_nr[255];
x_nr=strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /trunk [name]");
SendClientMessage(playerid, COLOR_WHITE, "Available Tasks: check, placegun, takegun, putarmor, takearmor");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
SendClientMessage(playerid, COLOR_WHITE, "You can /trunk frisk as a cop");
}
return 1;
}
if(strcmp(cmd, "/trunk", true) == 0) // By Night-life
{
if(IsPlayerConnected(playerid))
{
new x_nr[255];
x_nr=strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /trunk [name]");
SendClientMessage(playerid, COLOR_WHITE, "Available Tasks: check, placegun, takegun, putarmor, takearmor");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
SendClientMessage(playerid, COLOR_WHITE, "You can /trunk frisk as a cop");
}
return 1;
}