Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/movesbiz", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(PlayerInfo[playerid][pAdmin] >= 5)
- {
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp))
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Scrie: /movesbiz [sbiz id] ");
- return 1;
- }
- new proplev = strval(tmp);
- if(proplev > sizeof(SBizzInfo) || proplev < 0)
- {
- return 1;
- }
- else
- {
- GetPlayerPos(playerid,X,Y,Z);
- format(string,sizeof(string),"{0066FF}AdmCmd: {a9c4e4}** Afacerea S %d a fost mutata in pozitia %f - %f - %f",proplev,X,Y,Z);
- ABroadCast(COLOR_WHITE,string,1);
- SBizzInfo[proplev][sbEntranceX] = X;
- SBizzInfo[proplev][sbEntranceY] = Y;
- SBizzInfo[proplev][sbEntranceZ] = Z;
- OnPropUpdate();
- return 1;
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement