10.03.2010, 12:34
if (strcmp("/buygun", cmdtext, true) == 0) {
SendClientMessage(playerid, COLOR_BLUE, "Useage: /buygun <gunid> Check gun ids in /shop");
return 1;
}
if (strcmp("/buygun 1", cmdtext, true) == 0) {
GivePlayerMoney(playerid, -500);
GivePlayerWeapon(playerid, 22, 500);
return 1;
}
return 0;
}
SendClientMessage(playerid, COLOR_BLUE, "Useage: /buygun <gunid> Check gun ids in /shop");
return 1;
}
if (strcmp("/buygun 1", cmdtext, true) == 0) {
GivePlayerMoney(playerid, -500);
GivePlayerWeapon(playerid, 22, 500);
return 1;
}
return 0;
}