[Ajuda] Ajuda com ERRO?
#1

Resolvido!
Reply
#2

Qual linha do erro?
Reply
#3

Quote:
Originally Posted by ApocaSamp
Посмотреть сообщение
Qual linha do erro?
pawn Код:
public OnPlayerKeyStateChange (playerid, newkeys, oldkeys) {
Reply
#4

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys) {
    if(
newkeys KEY_SPRINT) {
        if(
GetPVarType(playerid"Stripper")) {
            new 
rand random(6),
                
iActorID GetPVarInt(playerid"Stripper");
            switch(
rand) {
                case 
0ApplyActorAnimation(iActorID"STRIP""strip_E"4.110000);
                case 
1ApplyActorAnimation(iActorID"STRIP""strip_G"4.110000);
                case 
2ApplyActorAnimation(iActorID"STRIP""STR_A2B"4.110000);
                case 
3ApplyActorAnimation(iActorID"STRIP""STR_Loop_A"4.110000);
                case 
4ApplyActorAnimation(iActorID"STRIP""STR_Loop_B"4.110000);
                default: 
ApplyActorAnimation(iActorID"STRIP""STR_Loop_C"4.110000);
            }
        }
    }
    return 
1;

Reply
#5

Quote:
Originally Posted by ApocaSamp
Посмотреть сообщение
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys) {
    if(
newkeys KEY_SPRINT) {
        if(
GetPVarType(playerid"Stripper")) {
            new 
rand random(6),
                
iActorID GetPVarInt(playerid"Stripper");
            switch(
rand) {
                case 
0ApplyActorAnimation(iActorID"STRIP""strip_E"4.110000);
                case 
1ApplyActorAnimation(iActorID"STRIP""strip_G"4.110000);
                case 
2ApplyActorAnimation(iActorID"STRIP""STR_A2B"4.110000);
                case 
3ApplyActorAnimation(iActorID"STRIP""STR_Loop_A"4.110000);
                case 
4ApplyActorAnimation(iActorID"STRIP""STR_Loop_B"4.110000);
                default: 
ApplyActorAnimation(iActorID"STRIP""STR_Loop_C"4.110000);
            }
        }
    }
    return 
1;

desculpa errei a linha kk
pawn Код:
OnPlayerModelSelectionEx
esse ea linha correta
Reply
#6

PHP код:
public OnPlayerModelSelectionEx(playeridresponseextraidmodelid)

Reply
#7

Quote:
Originally Posted by ApocaSamp
Посмотреть сообщение
PHP код:
public OnPlayerModelSelectionEx(playeridresponseextraidmodelid)

vlwwwwwwwwwwww pegue seu +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)