26.01.2013, 20:25
Pode me dizer
onde esta meu erro?
Deu Este Erro:
onde esta meu erro?
PHP код:
new Float:DrogasLS[3][4] = {
{
-1118.7178,-1650.2025,76.3672,92.8568, 10.0},
{
-1209.1139,-1192.7333,129.2188,91.7332, 10.0}};
new Float:DrogasSF[3][4] = {
{
-1301.6755,-7.1920,14.1484,141.9925, 10.0},
{
-1348.2963,508.2138,18.2344,98.6238, 10.0},
{
-2981.4458,472.5984,4.9141,92.1155, 10.0}};
new Float:DrogasLV[3][4] = {
{
-269.3152,1511.3184,75.5625,303.3597, 10.0},
{
-9.1879,2016.4657,17.4559,347.6299, 10.0},
{
1486.6718,1530.5186,10.8125,47.9419, 10.0}};
PHP код:
new rand;
if (strcmp(cmd, "/entregals", true) == 0)
{
if(PlayerInfo[playerid][pEmprego] != 9)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Nгo й um Transportador de Drogas");
return true;
}
if(var1[playerid] != 0)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Deve Esperar 5 Minutos Para Entregar De Novo !");
return true;
}
if(TruckMission[playerid] != 0)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Deve Entregas as Drogas Primeiro !");
return true;
}
if(!PlayerToPoint(60.0 ,playerid, -71.5407,-1123.4725,1.6677))
{
SendClientMessage(playerid, COLOR_GREY, "Vocк Precisa Estб na Base Para Poder Transportar");
return true;
}
rand = random(sizeof(DrogasLS));
SetPlayerCheckpoint(playerid, DrogasLS[rand][0],DrogasLS[rand][1],DrogasLS[rand][2]));
SetPlayerFacingAngle(playerid, DrogasLS[rand][3]);
TruckMission[playerid] = 2;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Entregue as Drogas no Local Indicado No Mapa !");
return true;
}
PHP код:
error 001: expected token: ";", but found ")"