Hello Dear SAMP Balkan Users. I'm Sig Hansen from original samp forums english but for some reason i cant go in.... The site dont load for me and i'm from Slovenia anyways IDK How to fix that..
And i got another problem with my scripting! :@
Well Here are the errors;
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(26685) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(26700) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(28211) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(28271) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(28324) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29000) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29059) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29742) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29770) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29781) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(29841) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30032) : warning 219: local variable "idcar" shadows a variable at a preceding level
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30165) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30192) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30222) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30230) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30264) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30272) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30305) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30350) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30413) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30471) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30479) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30514) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30522) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30763) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Uporabnik\Desktop\New Folder\gamemodes\PRRP.pwn(30817) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Here Are The Lines
;
strtok(const string[], &index)
{ // Here's the first error line 26685
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result; // This is the line; 26700 the error too :S
}
new idcar = GetPlayerVehicleID(playerid);
new pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
cmd = strtok(cmdtext, idx); // The Error Line Is Here:28211
if (strcmp(cmd, "/breathtest", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (IsACop(playerid))
{
tmp = strtok(cmdtext, idx); // Error Line Here; (28271
if(!strlen(tmp))
And Much More Problems! If anyone could add me to skype; andrej.hutinski to fix problems cuz there are 26 or 27.!!!
Thanks!
Regards; Sig Hansen
Sorry, but we can't help you because this forum is ONLY balkan languages speaking, so sorry....
LOCK!