- 0
Attached Objects
-
Similar Content
-
- 2 answers
- 394 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Mister
Problemă întâlnită (descriere): am aceast stock si nu merge sa pun mai mult de 9 attach uri pe player
Ero(area / rile) / warning-(ul / urile): fara erori
Liniile de cod / sursa / script-ul: stock CountAttachedObjects(playerid)
{
new count;
for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, i)) count++;
}
return count;
}
si la comanda /santa
if(!strcmp(cmdtext, "/santa", true))
Edited by Mister{
SetPlayerAttachedObject(playerid, i,19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
return SendClientMessage(playerid, 0x00FF00FF, "Santa hat equipped!");
}
Imagini / Video (optional):
Aţi încercat să rezolvaţi singur?: am schimbat din i in 12 slot care nu este utilizat de mine
__ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn
Link to comment
Share on other sites
2 answers to this question
Recommended Posts