- 0
o line proasta
-
Similar Content
-
- 0 replies
- 156 views
-
- 3 answers
- 361 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
vasy
cum rezolv aceste erori
Chiar nu imi pot da seama
[pawn]C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : warning 202: number of arguments does not match definition
C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : error 001: expected token: ",", but found "-string-"
C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : warning 215: expression has no effect
C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : error 001: expected token: ";", but found ")"
C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : error 029: invalid expression, assumed zero
C:\Users\KyLLeR\Desktop\JP trucking\pawno\include\PPC_PlayerCommands.inc(844) : fatal error 107: too many error messages on one line[/pawn]
erorile vin de la comanda asta
[pawn]// Repairs all vehicles
COMMAND:repairall(playerid, params[])
{
new nume[MAX_PLAYER_NAME];
// Send the command to all admins so they can see it
SendAdminText(playerid, "/repairall", params);
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
// Check if the player's admin-level is at least 3
if (APlayerData[playerid][PlayerLevel] >= 4)
{
// Loop through all vehicles
for (new i; i < 2000; i++)
RepairVehicle(i); // Fully repair the vehicle (damage value and bodywork)
// Send all players a message to inform them that all vehicles have been repaired
SendClientMessageToAll(0x00FF00FF, nume, playerid "Adminul %s[%i] a reparat toate masinile");
}
else
return 0;
}
else
return 0;
// Let the server know that this was a valid command
return 1;
}
[/pawn]
respectiv de la aceasta linie [pawn]SendClientMessageToAll(0x00FF00FF, nume, playerid "Adminul %s[%i] a reparat toate masinile");[/pawn]
<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
Link to comment
Share on other sites
7 answers to this question
Recommended Posts