21.10.2009, 21:51
Quote:
Originally Posted by /^We(stie|z+[e|a
r)$/ ]
Updated! woo! |
Originally Posted by /^We(stie|z+[e|a
r)$/ ]
Updated! woo! |
new dane[256]; dane = "text|nextext"; new showdane[256]; explode(showdane, dane, "|"); //this is line where is error
C:\Users\mario713\Desktop\samp03asvr_R4_win32\gamemodes\truckrp.pwn(292) : error 048: array dimensions do not match
stock substr_count( substring[], string[] )
{
new tmpcount;
for( new i = 0; i < strlen( string ); i++)
{
if( strfind( string[ i ], substring, true ) )
{
tmpcount++;
}
}
return tmpcount;
}
Originally Posted by mario713
i have problem with explode(); can you help me pls? :P
i have that code: Код:
new dane[256]; dane = "text|nextext"; new showdane[256]; explode(showdane, dane, "|"); //this is line where is error Код:
C:\Users\mario713\Desktop\samp03asvr_R4_win32\gamemodes\truckrp.pwn(292) : error 048: array dimensions do not match |
new dane[256]; dane = "text|nextext"; new showdane[10][256]; explode(showdane, dane, "|");
What's that? You can't download my files? Well, my server had a heart attack and lost its entire hard drive contents. Well done server. Stop asking for downloads, I'll put them up whenever. |
iItterations = (iLengthSource - iLengthTarget)
iItterations = (iLengthSource/* - iLengthTarget*/)