scr3ws0f7 Posted April 16, 2011 Report Share Posted April 16, 2011 Pawno:D:\RPG\gamemodes\RPGv2.pwn(2230) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2234) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2238) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2242) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2246) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2250) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2254) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2258) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2262) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2266) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2270) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2274) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2278) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2282) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2301) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2305) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2309) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2313) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2317) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2321) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2325) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2329) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2333) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2337) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2341) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2345) : error 017: undefined symbol "CreateVehicleEx" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. cam asa arata :| if(listitem == 0) // Admiral { CreateVehicleEx(playerid,445, X,Y,Z+1, Angle, random(126), random(126), -1);ma streseaza de cateva ore :embarrassed: si nu'i dau de cap pls help :( <a href=http://devilone.ro></a> Link to comment Share on other sites More sharing options...
jupanu Posted April 16, 2011 Report Share Posted April 16, 2011 acum i-ai dat de capstock CreateVehicleEx(playerid, modelid, Float:posX, Float:posY, Float:posZ, Float:angle, Colour1, Colour2, respawn_delay) { new world = GetPlayerVirtualWorld(playerid); new interior = GetPlayerInterior(playerid); if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { DestroyVehicle(GetPlayerVehicleID(playerid)); GetPlayerPos(playerid, posX, posY, posZ); GetPlayerFacingAngle(playerid, angle); CurrentSpawnedVehicle[playerid] = CreateVehicle(modelid, posX, posY, posZ, angle, Colour1, Colour2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], angle); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(IsVehicleOccupied(CurrentSpawnedVehicle[playerid])) {} else DestroyVehicle(CurrentSpawnedVehicle[playerid]); GetPlayerPos(playerid, posX, posY, posZ); GetPlayerFacingAngle(playerid, angle); CurrentSpawnedVehicle[playerid] = CreateVehicle(modelid, posX, posY, posZ, angle, Colour1, Colour2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], angle); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } return 1; } www.LcsNet.org91.233.106.13:7777www.Joc-Miniclip.info Link to comment Share on other sites More sharing options...
IstuntmanI Posted April 16, 2011 Report Share Posted April 16, 2011 acum i-ai dat de capstock CreateVehicleEx(playerid, modelid, Float:posX, Float:posY, Float:posZ, Float:angle, Colour1, Colour2, respawn_delay) { new world = GetPlayerVirtualWorld(playerid); new interior = GetPlayerInterior(playerid); if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { DestroyVehicle(GetPlayerVehicleID(playerid)); GetPlayerPos(playerid, posX, posY, posZ); GetPlayerFacingAngle(playerid, angle); CurrentSpawnedVehicle[playerid] = CreateVehicle(modelid, posX, posY, posZ, angle, Colour1, Colour2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], angle); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(IsVehicleOccupied(CurrentSpawnedVehicle[playerid])) {} else DestroyVehicle(CurrentSpawnedVehicle[playerid]); GetPlayerPos(playerid, posX, posY, posZ); GetPlayerFacingAngle(playerid, angle); CurrentSpawnedVehicle[playerid] = CreateVehicle(modelid, posX, posY, posZ, angle, Colour1, Colour2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], angle); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } return 1; }De fapt cred ca a uitat sa inchida o }. Incearca sa cauti unde ai uitat }. Link to comment Share on other sites More sharing options...
scr3ws0f7 Posted April 16, 2011 Author Report Share Posted April 16, 2011 m'am uitat si nu am uitat toate sunt inchise :sad:http://www.megaupload.com/?d=8EJRZWJB <- gmRPGv2.pwn - 138.0 KB <a href=http://devilone.ro></a> Link to comment Share on other sites More sharing options...
[RSD]TheBoss Posted April 16, 2011 Report Share Posted April 16, 2011 stuntman e aceeasi chestie ca la mn )...hm ai bagat sistock IsVehicleOcupied?...si stock CreateVehicleEx...?in gm?iar daca le ai uitate cu atentie la dialog...si verifica daca nu ai uitat o } sau ceva..daca nu le ai adaugale oriunde dar nu intr-un publicexpublic Branza(){...//nu aici cum ar veni le adaugi in afara}//aici expstock IsVehicleOccupied(vehicleid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER || GetPlayerState(i) == PLAYER_STATE_PASSENGER) { if(GetPlayerVehicleID(i) == vehicleid) return 1; } } return 0; } stock CreateVehicleEx(playerid, vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay) { new world = GetPlayerVirtualWorld(playerid); new interior = GetPlayerInterior(playerid); if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { DestroyVehicle(GetPlayerVehicleID(playerid)); GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, rotation); CurrentSpawnedVehicle[playerid] = CreateVehicle(vehicletype, x, y, z, rotation, color1, color2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], rotation); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(IsVehicleOccupied(CurrentSpawnedVehicle[playerid])) {} else DestroyVehicle(CurrentSpawnedVehicle[playerid]); GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, rotation); CurrentSpawnedVehicle[playerid] = CreateVehicle(vehicletype, x, y, z, rotation, color1, color2, respawn_delay); LinkVehicleToInterior(CurrentSpawnedVehicle[playerid], interior); SetVehicleVirtualWorld(CurrentSpawnedVehicle[playerid], world); SetVehicleZAngle(CurrentSpawnedVehicle[playerid], rotation); PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[playerid], 0); SetPlayerInterior(playerid, interior); } return 1; } New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez... Link to comment Share on other sites More sharing options...
Question
scr3ws0f7
Pawno:
cam asa arata :|ma streseaza de cateva ore :embarrassed: si nu'i dau de cap pls help :(
<a href=http://devilone.ro>
Link to comment
Share on other sites
4 answers to this question
Recommended Posts