warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch warning 202: number of arguments does not match definition warning 213: tag mismatch
PizzaVehicles[0] = AddStaticVehicleEx(448,-1701.99133301,1378.75817871,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[1] = AddStaticVehicleEx(448,-1702.81005859,1378.07958984,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[2] = AddStaticVehicleEx(448,-1703.49853516,1377.28295898,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[3] = AddStaticVehicleEx(448,-1704.31005859,1376.46240234,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[4] = AddStaticVehicleEx(448,-1705.17895508,1375.72802734,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[5] = AddStaticVehicleEx(448,-1709.15429688,1371.57226562,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[6] = AddStaticVehicleEx(448,-1709.98718262,1370.84716797,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[7] = AddStaticVehicleEx(448,-1710.77893066,1370.11706543,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[8] = AddStaticVehicleEx(448,-1711.57092285,1369.38659668,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[9] = AddStaticVehicleEx(448,-1712.32312012,1368.69396973,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[10] = AddStaticVehicleEx(448,-1713.02709961,1367.94238281,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[11] = AddStaticVehicleEx(448,-1713.83740234,1367.19580078,6.85771942,45.00000000,3,6,300); //Pizzaboy
PizzaVehicles[0] = AddStaticVehicleEx(448,2107.3921,-1788.2684,13.5608,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[1] = AddStaticVehicleEx(448,2109.2798,-1788.2703,13.5608,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[2] = AddStaticVehicleEx(448,2111.0972,-1788.1920,13.5608,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[3] = AddStaticVehicleEx(448,2112.9622,-1788.1953,13.5608,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[4] = AddStaticVehicleEx(448,2114.8472,-1788.2701,13.5608,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[5] = AddStaticVehicleEx(448,2116.6978,-1788.2202,13.5547,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[6] = AddStaticVehicleEx(448,2118.5059,-1788.1840,13.5547,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[7] = AddStaticVehicleEx(448,2120.3049,-1788.1200,13.5547,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[8] = AddStaticVehicleEx(448,2122.2964,-1788.1726,13.5547,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[9] = AddStaticVehicleEx(448,2103.6921,-1788.2153,13.5547,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[10] = AddStaticVehicleEx(448,-1713.02709961,1367.94238281,6.85771942,45.00000000,3,6,300); //Pizzaboy PizzaVehicles[11] = AddStaticVehicleEx(448,-1713.83740234,1367.19580078,6.85771942,45.00000000,3,6,300); //Pizzaboy
stock IsAPizzaCar(carid) { for (new v = 0; v < sizeof(PizzaVehicles); v++) { if(carid == PizzaVehicles[v]) return 1; } return 0; }
new PizzaVehicles[12];
if(GetPVarType(playerid, "Pizza") && !(IsAPizzaCar(vehicleid))) { new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly, slz+1.3); PlayerPlaySound(playerid, 1130, slx, sly, slz+1.3); RemovePlayerFromVehicle(playerid); defer NOPCheck(playerid); SendClientMessageEx(playerid, COLOR_GRAD2, "You need to be in a Pizzaboy when delivering pizzas!"); return 1; }
else if(IsAPizzaCar(vehicleid)) { if(PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21) { new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly, slz+1.3); PlayerPlaySound(playerid, 1130, slx, sly, slz+1.3); RemovePlayerFromVehicle(playerid); defer NOPCheck(playerid); SendClientMessageEx(playerid, COLOR_GRAD2, "You are not a Pizza Boy!"); } }
stock IsAPizzaCar(carid)
{
for (new v; v < sizeof(PizzaVehicles); v++) {
if(carid == PizzaVehicles[v]) return 1;
}
return 0;
}
new PizzaVehicles[11];
I still got the same warnings but if i go ingame the pizza bikes are on the place what i want to
|