AlexRYA Posted August 13, 2015 Report Share Posted August 13, 2015 Dc imi da erroarea asta ?D:\Download\virtual\gamemodes\vx-rp.pwn(38165) : error 025: function heading differs from prototypePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Error. Quote Link to comment Share on other sites More sharing options...
kwnx Posted August 13, 2015 Report Share Posted August 13, 2015 (edited) De unde sa stim daca nu avem linia cu scriptul problema ? Edited August 13, 2015 by KnowN Quote Link to comment Share on other sites More sharing options...
Mister Posted August 13, 2015 Report Share Posted August 13, 2015 (edited) Ar trebui sa postezi linia dar o sa iti explica ce e cu eroare. Ai declarat o functie cu forward exempluforward IsACop (playerid);Publicul trebuie sa fie asapublic IsACop (playerid)Tu probabil ai asa publicul care este gresitpublic IsACop (Playerid)Forwardul trebuie sa fie identic cu publiculTu probabil ai pus litera mare, mica sau ai scris inloc de playerid, targetud sau altceva. Edited August 13, 2015 by Mister Quote __ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn Link to comment Share on other sites More sharing options...
AlexRYA Posted August 13, 2015 Author Report Share Posted August 13, 2015 CMD:seatbelt(playerid, params[]){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { if(Seatbelt[playerid] == 1) { Seatbelt[playerid] = 0; format(szMessage, sizeof(szMessage), "** %s takes down his seatbelt.", playerVariables[playerid][pNormalName]); nearByMessage(playerid, COLOR_PURPLE, szMessage); } else { Seatbelt[playerid] = 1; format(szMessage, sizeof(szMessage), "** %s puts on his seatbelt.", playerVariables[playerid][pNormalName]); nearByMessage(playerid, COLOR_PURPLE, szMessage); } } return 1;} Quote Link to comment Share on other sites More sharing options...
Mister Posted August 13, 2015 Report Share Posted August 13, 2015 Si care e linia? P.S. vad ca nu vrei sa inveti ce semnifica eroarea. Quote __ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.