19.02.2018, 21:37
PHP код:
switch(listitem)
{
case 0:
{
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, -1, "ERRO: Vocк nгo tem R$100!");
SetPlayerAttachedObject(playerid, 0, 19330, 2, 0.166000, -0.038999, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
return 1;
}
case 1:
{
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, -1, "ERRO: Vocк nгo tem R$100!");
SetPlayerAttachedObject(playerid, 0, 19161, 2, 0.078999, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
return 1;
}
case 2:
{
return 1;
}
// basta continuar...
return 1;
}