Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/bgps", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp))
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /bgps [biznumber]");
- return 1;
- }
- new housenum = strval(tmp);
- SetPlayerCheckpoint(playerid,BizzInfo[housenum][bEntranceX],BizzInfo[housenum][bEntranceY],BizzInfo[housenum][bEntranceZ], 6.0);
- format(string, sizeof(string), "Postavili ste GPS na biznis broj: [%i]",housenum);
- SendClientMessage(playerid,COLOR_YELLOW,string);
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment