Izbacuje mi ova 2 warning-a, nov sam u ovome(skriptanju) pa ne znam da ih resim.
C:\Documents and Settings\GBM\Desktop\Brutal Public Ewolution\gamemodes\Bp-RolePlay.pwn(19161) : warning 202: number of arguments does not match definition
C:\Documents and Settings\GBM\Desktop\Brutal Public Ewolution\gamemodes\Bp-RolePlay.pwn(32407) : warning 219: local variable "mod" shadows a variable at a preceding level
if(strcmp(cmd, "/trafika7", true) == 0 || strcmp(cmd, "/prodavnica7", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (!PlayerToPoint(30, playerid,969.2311,-1133.5181,23.8281,292))//centerpoint 24-7
{
SendClientMessage(playerid, COLOR_GRAD2, " Niste u blizini prodavnice !");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
{
if(BizzInfo[location-99][bProducts] <= 0)
{
GameTextForPlayer(playerid, "~r~Nemamo vise zaliha", 5000, 1);
return 1;
}
new mod = 100;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
Citaj Pravila - Click (http://balkan-samp.com/forum/index.php?topic=11453.0)