12.02.2011, 17:31
hi ppl i need help when i compile gm i have 2 errors
D:\Lumix\LARP\LA-RPv1.5\gamemodes\larp.pwn(1629
: error 047: array sizes do not match, or destination array is too small
D:\Lumix\LARP\LA-RPv1.5\gamemodes\larp.pwn(16795) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
this errors
Script:
-----------------------------------------------------
if(strcmp(cmd, "/trunk", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new x_nr[64];
x_nr = strtok(cmdtext, idx); <--- i think something here is wrong please help(Line:16795)
if(!strlen(x_nr))
{
------------------------------------------------------
D:\Lumix\LARP\LA-RPv1.5\gamemodes\larp.pwn(1629

D:\Lumix\LARP\LA-RPv1.5\gamemodes\larp.pwn(16795) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
this errors
Script:
-----------------------------------------------------
if(strcmp(cmd, "/trunk", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new x_nr[64];
x_nr = strtok(cmdtext, idx); <--- i think something here is wrong please help(Line:16795)
if(!strlen(x_nr))
{
------------------------------------------------------
