habe dieses warnings ganz oft
C:\Dokumente und Einstellungen\Timo v.D\Desktop\Gta Server1\gamemodes\GFF (1).pwn(9331) : warning 202: number of arguments does not match definition
public OnGameModeInit()
{
FBICARS[0] = AddStaticVehicleEx(427,2263.5437,2474.1206,-7.3571,359.9886,0,-1); // FBI
FBICARS[1] = AddStaticVehicleEx(427,2268.1353,2474.1196,-7.3576,359.9886,0,-1); // FBI
FBICARS[2] = AddStaticVehicleEx(427,2273.2144,2474.1191,-7.3582,359.9886,0,-1); // FBI
FBICARS[3] = AddStaticVehicleEx(427,2277.6843,2474.1187,-7.3587,359.9886,0,-1); // FBI
FBICARS[4] = AddStaticVehicleEx(427,2281.7881,2474.1187,-7.3592,359.9886,0,-1); // FBI
FBICARS[5] = AddStaticVehicleEx(427,2285.9875,2474.1187,-7.3597,359.9886,0,-1); // FBI
FBICARS[6] = AddStaticVehicleEx(427,2288.8430,2474.1187,-7.3600,359.9886,0,-1); // FBI
FBICARS[7] = AddStaticVehicleEx(599,2297.7551,2464.5608,-7.2638,268.7089,0,-1); // FBI
FBICARS[8] = AddStaticVehicleEx(599,2297.6655,2460.5818,-7.2637,268.7089,0,-1); // FBI
FBICARS[9] = AddStaticVehicleEx(599,2297.5771,2456.6519,-7.2636,268.7089,0,-1); // FBI
FBICARS[10] = AddStaticVehicleEx(599,2297.4756,2452.1370,-7.2635,268.7089,0,-1); // FBI
FBICARS[11] = AddStaticVehicleEx(599,2312.3403,2454.6641,-6.9411,88.7234,0,-1); // FBI
FBICARS[12] = AddStaticVehicleEx(599,2312.4490,2459.5693,-6.9410,88.7234,0,-1); // FBI
FBICARS[13] = AddStaticVehicleEx(599,2312.5615,2464.6189,-6.9409,88.7234,0,-1); // FBI
FBICARS[14] = AddStaticVehicleEx(599,2312.6667,2469.3528,-6.9408,88.7234,0,-1); // FBI
FBICARS[15] = AddStaticVehicleEx(599,2312.7900,2474.9175,-6.9406,88.7234,0,-1); // FBI
FBICARS[16] = AddStaticVehicleEx(599,2312.8940,2479.6047,-6.9405,88.7234,0,-1); // FBI
FBICARS[17] = AddStaticVehicleEx(599,2312.9983,2484.2905,-6.9404,88.7234,0,-1); // FBI
FBICARS[18] = AddStaticVehicleEx(599,2313.1062,2489.1470,-6.9403,88.7234,0,-1); // FBI
FBICARS[19] = AddStaticVehicleEx(599,2313.2134,2493.9800,-6.9402,88.7234,0,-1); // FBI
FBICARS[20] = AddStaticVehicleEx(599,2313.3425,2499.7886,-6.9400,88.7234,0,-1); // FBI
FBICARS[21] = AddStaticVehicleEx(601,2316.7588,2431.9739,-7.6942,1.2637,0,-1); // FBI
FBICARS[22] = AddStaticVehicleEx(601,2311.7063,2431.8623,-7.6942,1.2637,0,-1); // FBI
FBICARS[23] = AddStaticVehicleEx(601,2307.3118,2431.7649,-7.6942,1.2637,0,-1); // FBI
FBICARS[24] = AddStaticVehicleEx(601,2302.6482,2431.6619,-7.6942,1.2637,0,-1); // FBI
FBICARS[25] = AddStaticVehicleEx(601,2298.3306,2431.5662,-7.6943,1.2637,0,-1); // FBI
FBICARS[26] = AddStaticVehicleEx(601,2293.8374,2431.4673,-7.6943,1.2637,0,-1); // FBI
FBICARS[27] = AddStaticVehicleEx(601,2289.6892,2431.3755,-7.6943,1.2637,0,-1); // FBI
FBICARS[28] = AddStaticVehicleEx(601,2285.3711,2431.2803,-7.6943,1.2637,0,-1); // FBI
FBICARS[29] = AddStaticVehicleEx(528,2276.6765,2431.3542,-7.4085,1.1656,0,-1); // FBI
FBICARS[30] = AddStaticVehicleEx(528,2272.0627,2431.2607,-7.4086,1.1656,0,-1); // FBI
FBICARS[31] = AddStaticVehicleEx(528,2267.5232,2431.1689,-7.4086,1.1656,0,-1); // FBI
FBICARS[32] = AddStaticVehicleEx(528,2263.2495,2431.0828,-7.4086,1.1656,0,-1); // FBI
FBICARS[33] = AddStaticVehicleEx(528,2258.8538,2430.9939,-7.4086,1.1656,0,-1); // FBI
FBICARS[34] = AddStaticVehicleEx(528,2254.4614,2430.9055,-7.4086,1.1656,0,-1); // FBI
FBICARS[35] = AddStaticVehicleEx(528,2250.2861,2430.8213,-7.4086,1.1656,0,-1); // FBI
FBICARS[36] = AddStaticVehicleEx(528,2246.0864,2430.7363,-7.4086,1.1656,0,-1); // FBI
FBICARS[37] = AddStaticVehicleEx(528,2240.0981,2438.3828,-7.4086,271.1512,0,-1); // FBI
FBICARS[38] = AddStaticVehicleEx(528,2240.0117,2442.7043,-7.4087,271.1512,0,-1); // FBI
FBICARS[39] = AddStaticVehicleEx(528,2239.9170,2447.4407,-7.4087,271.1512,0,-1); // FBI
FBICARS[40] = AddStaticVehicleEx(528,2239.4558,2470.4619,-7.4087,271.1512,0,-1); // FBI
FBICARS[41] = AddStaticVehicleEx(528,2239.3655,2474.9780,-7.4087,271.1512,0,-1); // FBI
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
HI
Der Syntax stimmt net
http://wiki.sa-mp.com/wiki/AddStaticVehicleEx
Gugg dir des ma an, das muss so aussehen:
AddStaticVehicleEx ( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 15 );
MFG, Rob
-
check ich net
-
Ja, das kommt nunmal davon wenn man Sachen anfängt aber absolut keinen Plan von den Grund-Bausteinen hat.
Dir fehlt die Respawnzeit, die ich hier mal rot eingefärbt habe:
AddStaticVehicleEx ( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60000 );Sollte man es nicht sehen können: Die 60000 am Ende steht für die Respawnzeit -> Eine Minute
-
wen du ohne respawnzeit willst, mach das ex weg also das es so heisst
AddStaticVehicle
-
ja habs fertig habe bei /save die letzte zahl auf -1 gemacht aber eigentlich muss man die zahl dadran hängen
-
breadfish.de
Hat das Thema geschlossen.