eXtreMe96 Posted January 15, 2011 Report Share Posted January 15, 2011 Folosesc un script care adaugi masini /v e cunoscut pentru toti dar numi dispar masinile pina nu dau restart la server imi puteti da un cod ca sa dispara lol Link to comment Share on other sites More sharing options...
MrBlack Posted January 15, 2011 Report Share Posted January 15, 2011 CUm adica sa iti dispara ca nu inteleg? Pt ce sa iti dispara daca sunt private?Te referi la /v park .. sau ce? Creation's:[Map]Chiliad Stunt for Fun[Map] Plaja LS ( first map)[Tut]Cum sa vezi playerii pe navigator[Tut] Cum sa faci un textdraw cu cati playeri sunt online pe server.[FS] Admin Gun's Link to comment Share on other sites More sharing options...
dragoniil Posted January 15, 2011 Report Share Posted January 15, 2011 se refera la comanda /v sau /veh cand apare o masina nu e di nserver e ca si vcum o creezi si daca o distrugi ea apare tot acolo si el vrea sa nu mai apara ca sa nu mai dea restart la server de fiecare data cand a folosit /v la asta ma intrebam si eu ar nu cred ca exista vreo comanda sia dispara.... Link to comment Share on other sites More sharing options...
IstuntmanI Posted January 15, 2011 Report Share Posted January 15, 2011 Posteaza functia de la /v ... aia care creaza vehiculul, aCreateThing daca nu ma insel. Link to comment Share on other sites More sharing options...
eXtreMe96 Posted January 15, 2011 Author Report Share Posted January 15, 2011 Nu ca eu am modificat fsul stuntman uite asai PutPlayerInVehicle(playerid,CreateVehicle( 509,X,Y,Z,0,-1,-1,-1),0); lol Link to comment Share on other sites More sharing options...
IstuntmanI Posted January 15, 2011 Report Share Posted January 15, 2011 Trebuie sa mai modifici inca umpic, sa numesti vehiculele ...ca si functie://sus in script new VVehicle[MAX_PLAYERS]; //undeva in script stock CreateVVehicle(playerid, modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay) { VVehicle[playerid] = CreateVehicle(modelid,x,y,z,angle,color1,color2,respawn_delay); PutPlayerInVehicle(playerid,VVehicle[playerid],0); } //onplayerdisconnect if(VVehicle[playerid] ! = 0) { DestroyVehicle(VVehicle[playerid]); VVehicle[playerid] = 0; } //ongamemodeinit for(new i;i<MAX_PLAYERS;i++) VVehicle[i] = 0; Asta ar trebui sa mearga. Tutorial: In loc de PutPlayerInVehicle(playerid,CreateVehicle( model,X,Y,Z,angle,color1,color2,respawn_delay),seatid); folosesti CreateVVehicle(playerid, modelid, X,Y,Z, angle, color1, color2, respawn);PS: Mult mai simplu, parerea mea :D Link to comment Share on other sites More sharing options...
eXtreMe96 Posted January 15, 2011 Author Report Share Posted January 15, 2011 D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 017: undefined symbol "VVehicle" D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 017: undefined symbol "i" D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 029: invalid expression, assumed zero D:\????? ????? (3)\gamemodes\SGM.pwn(529) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Rindul 529 for(new i;i<MAX_PLAYERS;i++) VVehicle = 0; lol Link to comment Share on other sites More sharing options...
IstuntmanI Posted January 15, 2011 Report Share Posted January 15, 2011 eXtreMe" post="50451" timestamp="1295120538"]D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 017: undefined symbol "VVehicle" D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 017: undefined symbol "i" D:\????? ????? (3)\gamemodes\SGM.pwn(529) : error 029: invalid expression, assumed zero D:\????? ????? (3)\gamemodes\SGM.pwn(529) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Rindul 529 for(new i;i<MAX_PLAYERS;i++) VVehicle = 0;Asigura-te ca l-ai pus bine. Link to comment Share on other sites More sharing options...
eXtreMe96 Posted January 15, 2011 Author Report Share Posted January 15, 2011 Am uitat sa pun definitul New of ce chior sunt dar apropo nu inteleg pentrucei semnul ! exklamari if(VVehicle[playerid] ! = 0) aicea cu el imi da 4 errori dar fara el 1 warn Xd fara el D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : warning 211: possibly unintended assignment cu el D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : error 001: expected token: ")", but found "!" D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : error 029: invalid expression, assumed zero D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : warning 215: expression has no effect D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : error 001: expected token: ";", but found ")" D:\????? ????? (3)\gamemodes\SGM.pwn(2559) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. [code] lol Link to comment Share on other sites More sharing options...
IstuntmanI Posted January 15, 2011 Report Share Posted January 15, 2011 Oh, greseala mea, in loc deif(VVehicle[playerid] ! = 0) { DestroyVehicle(VVehicle[playerid]); VVehicle[playerid] = 0; } pune if(VVehicle[playerid] != 0) { DestroyVehicle(VVehicle[playerid]); VVehicle[playerid] = 0; }intre ! si = nu trebuia spatiu. Link to comment Share on other sites More sharing options...
eXtreMe96 Posted January 16, 2011 Author Report Share Posted January 16, 2011 Tot normal numi da nici un warn dar masinile se spawneaza inapoi si chiar daca ies si intru de pe server masinile ramin lol Link to comment Share on other sites More sharing options...
eXtreMe96 Posted January 23, 2011 Author Report Share Posted January 23, 2011 Ma ajuta cineva totdeauna nu despar masinile lol Link to comment Share on other sites More sharing options...
Question
eXtreMe96
Folosesc un script care adaugi masini /v e cunoscut pentru toti dar numi dispar masinile pina nu dau restart la server imi puteti da un cod ca sa dispara
lol
Link to comment
Share on other sites
11 answers to this question
Recommended Posts