RaulSTAR Posted October 28, 2010 Report Share Posted October 28, 2010 Buna , as dori comanda /mask pentru The Agency la server de RP + /roadblock la PD , care stiti sa ma ajutati si cu un tutorial cum le bag ... va rog sunt incepator Link to comment Share on other sites More sharing options...
heker Posted October 28, 2010 Report Share Posted October 28, 2010 1.Probleme Godfather2. Uite comanda roadblock//--------------------------------=[Roadblock]=-------------------------------// if(strcmp(cmdtext, "/roadblock", true)==0 || strcmp(cmdtext, "/rb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not a cop!"); if (PlayerInfo[playerid][pRoadblock] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can only deploy 1 roadblock at a time, type /rrb to remove your existing one."); if (roadblocktimer != 0) return SendClientMessage(playerid, COLOR_GREY, "Please wait before trying to spawn another roadblock!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); PlayerInfo[playerid][pRoadblock] = CreateObject(981, X, Y, Z, 0.0, 0.0, A+180); SetPlayerPos(playerid, X, Y, Z+4); GameTextForPlayer(playerid, "~w~Roadblock ~r~Placed", 5000, 5); SendClientMessage(playerid, COLOR_GREEN, "Roadblock deployed successfully, type /rrb or /roadunblock to remove it."); roadblocktimer = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "HQ: A roadblock has been deployed by %s, it has been marked on the map by a checkpoint.", sendername); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pLeader] == 1) { SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0); SendClientMessage(i, TEAM_BLUE_COLOR, string); if (PlayerInfo[i][pRank] >= 3 && PlayerInfo[i][pMember] || PlayerInfo[i][pLeader] == 1) { SendClientMessage(i, COLOR_YELLOW, "You can remove all roadblocks by typing /rrball"); } } } } SetTimer("ResetRoadblockTimer", 60000, false); return 1; } if(strcmp(cmdtext, "/roadunblock", true)==0 || strcmp(cmdtext, "/rrb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) { SendClientMessage(playerid, COLOR_GREY, "You are not a cop!"); return 1; } if (PlayerInfo[playerid][pRank] < 3) { SendClientMessage(playerid, COLOR_GREY, "You have to be rank 3 to use this command!"); return 1; } if (PlayerInfo[playerid][pRoadblock] == 0) { SendClientMessage(playerid, COLOR_GREY, "You haven't deployed a roadblock!"); return 1; } RemoveRoadblock(playerid); SendClientMessage(playerid, COLOR_GREEN, "Roadblock removed successfully."); return 1; } 3. Specifica ce face comanda /mask Link to comment Share on other sites More sharing options...
RaulSTAR Posted October 28, 2010 Author Report Share Posted October 28, 2010 la roadblock cum pot edita levelul de folosire (scuze sunt incepator de aceea pun intrebari .... )/mask la hitman se poate pune in timpul contractelor de ex , am dat givehit la un hitman si aceala daca pune /mask , cand scrie cu T un mesaj ii apare in loc de numele lui ii apare Unknown si nu ii apare numele deasupra capului pana nu isi scoate dinou /mask'ul iar dupaia totul revine la normal 3. as mai avea o intrebare cum fac /cabinet la factiuni Link to comment Share on other sites More sharing options...
Jo!nt Posted October 28, 2010 Report Share Posted October 28, 2010 PROBLEME GODFATHER : http://www.sa-mp.ro/forum/index.php/topic,5356.555.html Link to comment Share on other sites More sharing options...
RaulSTAR Posted October 28, 2010 Author Report Share Posted October 28, 2010 ASta este pentru 24/7 eu nu vreau in 24/7 numa la The AgencyMi-a dat errori la roadblock poate nu l-am pus eu bineC:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(623) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(625) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(626) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(627) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(629) : error 021: symbol already defined: "GetPlayerPos" C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(638) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(640) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(642) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(646) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(654) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(657) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(659) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(662) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(664) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(667) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(669) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(672) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(675) : error 021: symbol already defined: "SendClientMessage" C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(676) : error 010: invalid function or declaration C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7431) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7431) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7431) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7883) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7883) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7883) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7895) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7895) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(7895) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26384) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26384) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26384) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26431) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26431) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(26431) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(27311) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(27311) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(27311) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(33403) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(33403) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(33403) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34290) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34290) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34290) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34331) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34331) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34331) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34380) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34380) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(34380) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(39459) : warning 203: symbol is never used: "A" C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(39459) : warning 203: symbol is never used: "X" C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(39459) : warning 203: symbol is never used: "Y" C:\Documents and Settings\RaulSTAR\Desktop\TEST\SAMP\gamemodes\GameSs-Net.pwn(39459) : warning 203: symbol is never used: "Z" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 19 Errors. Link to comment Share on other sites More sharing options...
Question
RaulSTAR
Buna , as dori comanda /mask pentru The Agency la server de RP + /roadblock la PD , care stiti sa ma ajutati si cu un tutorial cum le bag ... va rog sunt incepator
Link to comment
Share on other sites
4 answers to this question
Recommended Posts