ruben88 Posted May 10, 2011 Report Share Posted May 10, 2011 Buna,deci am incercat sa bag minigame-ul asta in GM->ClickDar imi da aceste erruori! error 017: undefined symbol "DestroyDynamicCP" error 017: undefined symbol "DestroyDynamicCP" warning 235: public function lacks forward declaration (symbol "OnPlayerEnterDynamicCP") warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveDynamicCP") error 017: undefined symbol "CreateDynamicCP" warning 225: unreachable code warning 219: local variable "id" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors. Nush ce nu am facut bine,am bagat tot ce era in script,cred.. Link to comment Share on other sites More sharing options...
Guest farse Posted May 10, 2011 Report Share Posted May 10, 2011 ai uitat sa incluzi un include ( xD ) .Cred ca functia CreateDynamicCP apartine de streamer.inc ( #include streamer.inc ) Link to comment Share on other sites More sharing options...
ruben88 Posted May 12, 2011 Author Report Share Posted May 12, 2011 Da a mers mersi dar la comanda asta imi da don't send if (strcmp(cmdtext, "/plant", true) == 0) { if(IsPlanted[id] == 0) { if(GetPlayerTeam(playerid) == TEAM_RED) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 3787.4651,-1002.8569,25.4665)) { IsPlanted[id] = 1; BombTimer = SetTimer("Bomb",30000,false); SendClientMessageToAll(COLOR_BLUE, "The Bomb has been planted"); BombC = CreateDynamicCP(3787.4651,-1002.8569,25.4665, 1.5, -1, -1, -1, 100.0); return 1; } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) You must in CT Generator Room"); } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) Only Terrorist can use this command"); } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) Bomb has been planted"); } return 1;}Si daca o pun fara asta if (strcmp(cmdtext, "/plant", true) == 0) { if(IsPlanted[id] == 0) { if(GetPlayerTeam(playerid) == TEAM_RED) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 3787.4651,-1002.8569,25.4665)) { IsPlanted[id] = 1; BombTimer = SetTimer("Bomb",30000,false); SendClientMessageToAll(COLOR_BLUE, "The Bomb has been planted"); BombC = CreateDynamicCP(3787.4651,-1002.8569,25.4665, 1.5, -1, -1, -1, 100.0); return 1; } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) You must in CT Generator Room"); } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) Only Terrorist can use this command"); } else return SendClientMessage(playerid, COLOR_ERROR, "(ERROR) Bomb has been planted"); } return 1;}Imi da unracble code sau geva de genu Link to comment Share on other sites More sharing options...
Ryder_RO Posted May 12, 2011 Report Share Posted May 12, 2011 vezi poate in fata la comenzile astea sunt } { in plussau pune un #define Link to comment Share on other sites More sharing options...
Question
ruben88
Buna,deci am incercat sa bag minigame-ul asta in GM->Click
Dar imi da aceste erruori!
Nush ce nu am facut bine,am bagat tot ce era in script,cred..
Link to comment
Share on other sites
3 answers to this question
Recommended Posts