Guest User

Untitled

a guest
Aug 12th, 2015
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.46 KB | None | 0 0
  1. CMD:chouse(playerid, params[])
  2. {
  3.     new price;
  4.     new interior;
  5.     if(sscanf(params, "i", price)) return SendClientMessage(playerid, COLOR_RED, "Usage: /chouse <Prezzo>");
  6.     new Float:pX;
  7.     new Float:pY;
  8.     new Float:pZ;
  9.     GetPlayerPos(playerid, pX, pY, pZ);
  10.     if(price < 20 && price > 99999) return SendClientMessage(playerid, COLOR_GREEN, "Price Between 20 and 999999");
  11.     else
  12.     {
  13.         SendClientMessage(playerid, COLOR_GREEN, "Ok");
  14.     }
  15.     return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment