05.02.2010, 20:58
Experimenta algo do gйnero:
Код:
new screen = random(10); new Float:posX,Float:posY,Float:posZ, Float:lookX,Float:lookY,Float:lookZ; switch(screen) { case 1: { posX = 0.10, posY = 0.20, posZ = 0.30; lookX = 0.10, lookX = 0.20, lookX = 0.30; } case 2: { posX = 0.10, posY = 0.20, posZ = 0.30; lookX = 0.10, lookX = 0.20, lookX = 0.30; } default: { posX = 0.10, posY = 0.20, posZ = 0.30; lookX = 0.10, lookX = 0.20, lookX = 0.30; } } SetPlayerCameraPos(playerid, posX, posY, posZ); SetPlayerCameraLookAt(playerid, lookX, lookY, lookZ);