15.07.2009, 14:25
Hello. I'm trying to do that when player hungs up trailer, server will show checkpoint for him. But when I hung up trailer, server shows me nothing.
Can someone help me?
Код:
forward priekaba(playerid); public priekaba(playerid) { for(new k = 0; k < MAX_VEHICLES; k++) { if(IsTrailerAttachedToVehicle(k)) { picaDB[playerid][Picanumber] = SetPlayerCheckpoint(playerid,picaarray[picaDB[playerid][Picanumber]][0],picaarray[picaDB[playerid][Picanumber]][1],picaarray[picaDB[playerid][Picanumber]][2],6.0); } else { DisablePlayerCheckpoint(playerid) ; } } } SetTimer("Priekaba",100,true);