[Ajuda] should return a value
#6

PHP код:
public OnPlayerEditObject(playeridplayerobjectobjectidresponseFloat:fXFloat:fYFloat:fZFloat:fRotXFloat:fRotYFloat:fRotZ)
{
    new 
Float:oldXFloat:oldYFloat:oldZFloat:oldRotXFloat:oldRotYFloat:oldRotZ;
    
GetObjectPos(GrafiteJFS[playerid], oldXoldYoldZ);
    
GetObjectRot(GrafiteJFS[playerid], oldRotXoldRotYoldRotZ);
    if(!
playerobject)
    {
        if(!
IsValidObject(GrafiteJFS[playerid])) return 1;
        
MoveObject(GrafiteJFS[playerid], fXfYfZ10.0fRotXfRotYfRotZ);
    }
    if(
response == EDIT_RESPONSE_FINAL)
    {
        new 
string[64];
        
format(stringsizeof(string), "Criada Por: %s"getPName(playerid));
        
Player[playerid][LabelPic] = Create3DTextLabel(stringCOR_AMARELOfXfYfZ-0.210.00);

        
SendClientMessage(playerid,COR_AZULCLARO,"<!> {ffffff}Use o Spray por 5 segundos para finalizar.");
        
SendClientMessage(playerid,COR_AZULCLARO,"<!> {ffffff}Ao final, nгo utilize esse spray para nada!");
        
GivePlayerWeapon(playerid415000);

    }
    return 
1;

Reply


Messages In This Thread
should return a value - by cristiannh2 - 28.05.2018, 07:06
Re: should return a value - by Ermanhaut - 28.05.2018, 07:15
Re: should return a value - by cristiannh2 - 28.05.2018, 08:16
Re: should return a value - by cristiannh2 - 28.05.2018, 08:22
Re: should return a value - by AutoMatic2 - 28.05.2018, 14:03
Re: should return a value - by [BOPE]Seu._.Madruga - 28.05.2018, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)