Spawn Protect

Results 1 to 7 of 7
  1. #1
    Enthusiast TheWoodPecker is offline
    MemberRank
    Jan 2019 Join Date
    127.0.0.1Location
    43Posts

    Spawn Protect

    How do I change color of spawn protection when it has 4 seconds to left.


  2. #2
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: Spawn Protect

    if spawnprotectione time == 4
    color

  3. #3
    Member NaraRZ is offline
    MemberRank
    Nov 2017 Join Date
    51Posts

    Re: Spawn Protect

    I haven't tested I hope this is your answer.


  4. #4
    Account Upgraded | Title Enabled! Adnan DatLife is offline
    MemberRank
    Aug 2015 Join Date
    main.cppLocation
    207Posts

    Re: Spawn Protect

    Just use if else and <> :|

  5. #5
    Enthusiast TheWoodPecker is offline
    MemberRank
    Jan 2019 Join Date
    127.0.0.1Location
    43Posts

    Re: Spawn Protect

    no problem in code, bu it doesn't work

  6. #6
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: Spawn Protect

    Quote Originally Posted by TheWoodPecker View Post
    no problem in code, bu it doesn't work
    [mental]try this condition:[/mental]

    PHP Code:
    if((This->Parent->m_SpawnProtectedUntil r3dGetTime()) <= 4.0f
    Last edited by Yuri-BR; 21-12-19 at 12:22 AM.

  7. #7
    Enthusiast TheWoodPecker is offline
    MemberRank
    Jan 2019 Join Date
    127.0.0.1Location
    43Posts

    Re: Spawn Protect

    thanks



Advertisement