Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:pizzero(playerid, params[])
- {
- Pizzero[playerid] = 1;
- if (IsPlayerInRangeOfPoint(playerid, 7.0, 2102.91, -1826.32, 13.55))
- {
- if(!IsPlayerInAnyVehicle(playerid))
- SendClientMessage(playerid, -1, "{E69E19}Felicitaciones! {FFFFFF}Ahora eres un pizzero");
- if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, 0x00FF00AA, "Baja del vehiculo para usar /trabajo.");
- }
- else
- {
- SendClientMessage(playerid, -1, "{E69E19}No estas en el lugar de trabajo de pizzero");
- }
- return 1;
- }
- CMD:llevarpizza(playerid, params[])
- {
- if(Pizzero[playerid] == 0)
- {
- SendClientMessage(playerid, -1, "{E69E19}No sos pizzero");
- return 1;
- }
- }
- CMD:dejarpizzero(playerid, params[])
- {
- Pizzero[playerid] = 0;
- SendClientMessage(playerid, -1, "Dejaste de ser pizzero");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement