22.12.2012, 05:01
well, i tryingfew day about this textdraws but i cant ersolve this..
my textdraws doesn't shows :/
ongamemodeinit:
my textdraws doesn't shows :/
ongamemodeinit:
Код:
intulaz = TextDrawCreate(208 ,450 , "Ukucajte /enter za uci u interijer"); TextDrawFont(intulaz , 1); TextDrawLetterSize(intulaz , 0.5, 3.5); TextDrawColor(intulaz , 0xff0000FF); TextDrawSetOutline(intulaz , false); TextDrawSetProportional(intulaz , true); TextDrawSetShadow(intulaz , 1); intizlaz2 = TextDrawCreate(208 ,450 , "Ukucajte /enter za uci u interijer"); TextDrawFont(intulaz , 1); TextDrawLetterSize(intulaz , 0.5, 3.5); TextDrawColor(intulaz , 0xff0000FF); TextDrawSetOutline(intulaz , false); TextDrawSetProportional(intulaz , true); TextDrawSetShadow(intulaz , 1);
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == intV) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intulaz); // Show the textdraw defined "gDoor" } if(pickupid == intB) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intulaz); // Show the textdraw defined "gDoor" } if(pickupid == intVLA) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intulaz); // Show the textdraw defined "gDoor" } if(pickupid == intGSF) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intulaz); // Show the textdraw defined "gDoor" } if(pickupid == intSTAFF) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intulaz); // Show the textdraw defined "gDoor" } if(pickupid == intIZLAZ) // If the player picks up the LSPD pickup that is previously defined { TextDrawShowForPlayer(playerid,intizlaz2); // Show the textdraw defined "gDoor" } return 1; }