10.02.2013, 10:52
Here you can see the errors:
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(224) : error 035: argument type mismatch (argument 2)
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(226) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(229) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(233) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(235) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(434) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(436) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(43 : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(440) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(442) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(447) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(452) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(461) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
13 Errors.
Here is the script :
and the second one:
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(224) : error 035: argument type mismatch (argument 2)
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(226) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(229) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(233) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(235) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(434) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(436) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(43 : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(440) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(442) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(447) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(452) : error 010: invalid function or declaration
C:\Users\user.DEPLOY38\Desktop\Test\gamemodes\NewT estMod.pwn(461) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
13 Errors.
Here is the script :
PHP код:
if (strcmp("/loadtruck", cmdtext, true, 10) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
SendClientMessage(playerid, COLOR_RED, "You are not driving a truck from the depot.");
}
if(IsPlayerInRangeOfPoint(playerid, -14.1486,149.4052,2.6075,333.0295))
SendClientMessage(playerid, "You loaded your truck !")
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not near the loading place.");
return 1;
}
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "What do you want to deliver ?", "Weapons - 6000$ + 9mm \nLiquor - 7500$ \nPotatoes - 7000$", "Load Truck", "Cancel");
return 1;
PHP код:
if(response)// They pressed the first button.
{
switch(dialogid, 2)
{
case 1:// Our dialog!
{
switch(listitem)// Checking which listitem was selected
{
case 0:// Weapons
{
SetPlayerCheckpoint(playerid, -322.9266,821.1814,14.2874, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Weapon crates.)");
}
case 1: // Liquor
{
SetPlayerCheckpoint(playerid, -182.8844,1034.1738,19.7422, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Liquor crates.");
}
case 2: // Potatoes
{
SetPlayerCheckpoint(playerid, -142.8067,1222.1426, 5.0);
SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Potato crates .");
}
}
}
}
}
return 1;