Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:lampa1(playerid, params[], help)
- {
- if(IsPlayerConnected(playerid))
- {
- if(PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pClan] == 1)
- {
- if(IsPlayerAttachedObjectSlotUsed(playerid,LAMPA_SLOT)) RemovePlayerAttachedObject(playerid,LAMPA_SLOT);
- if(IsPlayerAttachedObjectSlotUsed(playerid,LAMPA_SLOT1)) RemovePlayerAttachedObject(playerid,LAMPA_SLOT1);
- SetPlayerAttachedObject(playerid, LAMPA_SLOT,18656, 5, 0.1, 0.038, -0.1, -90, 180, 0, 0.03, 0.03, 0.03);
- SetPlayerAttachedObject(playerid, LAMPA_SLOT1,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1);
- SendClientMessage(playerid, 0x33CCFFAA, "[I:RP] Stavili Ste Lampu na sebe "); ////EROR I OVDE
- }
- }
- }
- else
- {
- SendClientMessage(playerid, 0x33CCFFAA, "[I:RP] Samo Policija "); //////EROR OVDE
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment