Hallo Leute
Ich habe heute versucht den Trucker job zu fixen nach dieser Anleitung:
http://forum.sa-mp.com/showthread.php?t=248759
eig klappt das auch ganß gut nur diese Warnings:
C:\Users\GY\Desktop\Test\gamemodes\SCL.pwn(27528) : warning 202: number of arguments does not match definition
C:\Users\GY\Desktop\Test\gamemodes\SCL.pwn(27528) : warning 202: number of arguments does not match definition
C:\Users\GY\Desktop\Test\gamemodes\SCL.pwn(27574) : warning 202: number of arguments does not match definition
C:\Users\GY\Desktop\Test\gamemodes\SCL.pwn(27574) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
hier die Codeschnipser zum Warning in der Zeile 27528:
GameTextForPlayer(playerid, "~r~Truck is empty, return to the stock house", 5000, 1);
format(string, sizeof(string), "Cash Earned $%d.", cashmade);
SendClientMessage(playerid, TEAM_GROVE_COLOR, string);
format(string, sizeof(string), "Products: %d.", PlayerInfo[playerid][pTruckLoad]);
SendClientMessage(playerid, TEAM_GROVE_COLOR, string);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
return 1;
}
}
OnPropUpdate(3,i);
return 1;
}
}
}
Codeschnipsel zum Warning in der Zeile 27574:
GameTextForPlayer(playerid, "~r~Truck is empty, return to the stock house", 5000, 1);
format(string, sizeof(string), "Cash Earned $%d.", cashmade);
SendClientMessage(playerid, TEAM_GROVE_COLOR, string);
format(string, sizeof(string), "Products: %d.", PlayerInfo[playerid][pTruckLoad]);
SendClientMessage(playerid, TEAM_GROVE_COLOR, string);
return 1;
}
}
OnPropUpdate(3,i);
return 1;
}
}
Ich hoffe ihr könnt mir helfen das ich auch die Produkte kaufen kann ...