SetPlayerColor
#1

....
Reply
#2

That should work , you missed a bracket!
pawn Код:
SetPlayerColor(playerid, Cores(playerid));
Reply
#3

....
Reply
#4

Could you show me the codes around or the whole command ?
Reply
#5

Did the errors change at all after you added the extra )?
Reply
#6

....
Reply
#7

Show me the errors you get please , also the stock about ' Cores ' or however your function is.
Reply
#8

....
Reply
#9

Replace this with your old one,
pawn Код:
new Cores[] =
{
0x5F7C6D77 ,0xF555EF77 ,0x8E5B9777 ,0x68E7EF77 ,0x76AB5B77 ,0xFAF65D77 ,0xBD76AB77 ,0xB5A5D777 ,0x959AB777 ,0x5DB5B877 ,
0xF8757D77 ,0x7B5B9F77 ,0xA66FCF77 ,0xCBC5E877 ,0xBA7B9E77 ,0x7B6F9E77 ,0xF7B5B977 ,0xB57AEF77 ,0x9F6D9C77 ,0x7C979D77 ,
0x87668977 ,0xD5FCAE77 ,0xB58EDD77 ,0xCCDD7877 ,0xD96CAE77 ,0xA65FBF77 ,0xF79AAD77 ,0xBB6ED677 ,0x559BBC77 ,0x5CCDCC77 ,
0xFF6BA677 ,0xFAED7577 ,0x6B676E77 ,0xCBB7F777 ,0x565CBC77 ,0xB7D86977 ,0xABEE9E77 ,0xCF65E577 ,0x89AFD777 ,0x5EEE8777 ,
0x886B6577 ,0xECF78677 ,0x9A6EDF77 ,0xDA6CBA77 ,0xBFBAB977 ,0x8F5B7C77 ,0xF57DD977 ,0xD85F8D77 ,0x6C756D77 ,0xFDB68B77 ,
0x6AFC9977 ,0xB9AB9677 ,0x9EBB7577 ,0x675FFC77 ,0xEFF8F877 ,0x9A6E6677 ,0xCDE67D77 ,0xDADD6D77 ,0x96AFA577 ,0xDC9BB577 ,
0xC57CA577 ,0xDA5BC977 ,0xBD9F7F77 ,0x597A7D77 ,0x65D99A77 ,0xB97DFF77 ,0xE8D78B77 ,0xDA8ADF77 ,0x755C6D77 ,0xB67DCF77 ,
0xCE8CB677 ,0x7C5A9E77 ,0xBF5DE977 ,0xEE6CF677 ,0xEA89FE77 ,0xABAFF977 ,0x89FFBA77 ,0x59A9AB77 ,0xEF78A677 ,0x5AA59F77 ,
0xD6EE7B77 ,0x5DDAB577 ,0x8D99BA77 ,0x777DBE77 ,0xBCABDC77 ,0xEF5BA877 ,0xEC689D77 ,0xD5E6A577 ,0xD577A877 ,0xECBC6677 ,
0xC8F8B877 ,0x5BFC9877 ,0xFC68EF77 ,0xD578C977 ,0x58B58677 ,0x7F789777 ,0xD88ABC77 ,0xA6998C77 ,0xB6596877 ,0x75ECD777 ,
0xA6DB6D77 ,0x77DEFB77 ,0x55BC7577 ,0x76BC5A77 ,0x7F6D9C77 ,0x998B6A77 ,0xD568AD77 ,0x67DFAD77 ,0xFFA85E77 ,0x9B9AA777 ,
0x6E79F677 ,0xDCF98677 ,0xA6C9CC77 ,0x5C9EEA77 ,0xF6FAC677 ,0x9A9AE577 ,0xFCC76C77 ,0xDA675877 ,0x7BEE7977 ,0xC8C7AA77 ,
0x7CAB5677 ,0xA9FD7577 ,0xF75AE577 ,0xE6A88777 ,0xAEC8DF77 ,0xE8AEA777 ,0xA685EB77 ,0x6ECEB777 ,0x98557A77 ,0xD7EEC777 ,
0x9DB9CB77 ,0xDCB75E77 ,0xCF98EA77 ,0xBE796D77 ,0xDCBDEC77 ,0xF9B66C77 ,0xFFBCE777 ,0x8ACD7A77 ,0x6DD9C977 ,0xCCC6C777 ,
0xF6858677 ,0xA5557577 ,0xE8D8CD77 ,0xC9DAD977 ,0x77FE7D77 ,0xAD8A6D77 ,0xB8E75C77 ,0xFB7C5E77 ,0x6D6FD677 ,0x97FA8C77 ,
0xDBB9FC77 ,0xEF7D6877 ,0xC8CA6C77 ,0x85E8D577 ,0x9CBECA77 ,0xDBFEF677 ,0xFC5AC877 ,0xA6D8F977 ,0xFDBC8577 ,0x55F77D77 ,
0xA69EE577 ,0x5A87EE77 ,0x6F9EDC77 ,0xA59CBC77 ,0x875E8677 ,0x5A776977 ,0xDFEE6E77 ,0xB56DFE77 ,0xA5B55677 ,0xC875D577 ,
0xAE598977 ,0xBBD69977 ,0xD9EF9B77 ,0xE767FC77 ,0x6AFDAB77 ,0x5B667D77 ,0xDADCB977 ,0x89A67A77 ,0x65CCBF77 ,0xC55C6C77 ,
0xE9E6DF77 ,0x6565C677 ,0xBBA95B77 ,0x6AFDCA77 ,0xBFA97777 ,0x6B7B9877 ,0x6DEB6D77 ,0xDFB6F777 ,0xDEDBC577 ,0x78C86577 ,
0x98B5AD77 ,0x65BBF577 ,0x896F9F77 ,0x9C5DF677 ,0xB79BFA77 ,0xFAFF9A77 ,0xE865AD77 ,0x8758FF77 ,0xCF7DEE77 ,0xF598AD77
};
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 2193.1243,-2324.0867,43.9261);
    SetPlayerFacingAngle(playerid, 314.0555);
    SetPlayerCameraPos(playerid, 2194.7441,-2322.5422,43.9261);
    SetPlayerCameraLookAt(playerid, 2193.0043,-2324.2867,43.9261);
    ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
    new color = random(sizeof(Cores));
    SetPlayerColor(playerid, Cores[color]);
    return 1;
}
Try that ! and show me if there is any errors
Reply
#10

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)